diff --git a/templates/search/index.rs.html b/templates/search/index.rs.html index 5f0463a2..4e84b17b 100644 --- a/templates/search/index.rs.html +++ b/templates/search/index.rs.html @@ -26,7 +26,7 @@ .input_type("date") .set_prop("max", now) .html(ctx.1)) - @(Input::new("before", i18n!(ctx.1, "")) + @(Input::new("before", i18n!(ctx.1, "To this date")) .input_type("date") .set_prop("max", now) .html(ctx.1)) diff --git a/templates/users/new.rs.html b/templates/users/new.rs.html index b75168da..bd38d622 100644 --- a/templates/users/new.rs.html +++ b/templates/users/new.rs.html @@ -15,23 +15,23 @@

@errs[0].message.as_ref().unwrap_or(&Cow::from("Unknown error"))

} - @(Input::new("username", i18n!(ctx.1, "")) + @(Input::new("username", i18n!(ctx.1, "Username")) .default(&form.username) .error(&errors) .set_prop("minlength", 1) .html(ctx.1)) - @(Input::new("email", i18n!(ctx.1, "")) + @(Input::new("email", i18n!(ctx.1, "Email")) .default(&form.email) .error(&errors) .set_prop("minlength", 1) .html(ctx.1)) - @(Input::new("password", i18n!(ctx.1, "")) + @(Input::new("password", i18n!(ctx.1, "Password")) .default(&form.password) .error(&errors) .set_prop("minlength", 8) .input_type("password") .html(ctx.1)) - @(Input::new("password_confirmation", i18n!(ctx.1, "")) + @(Input::new("password_confirmation", i18n!(ctx.1, "Password confirmation")) .default(&form.password_confirmation) .error(&errors) .set_prop("minlength", 8)