diff --git a/app/views/users/preferences/_form.html.erb b/app/views/users/preferences/_form.html.erb index 963adf9..03d2434 100644 --- a/app/views/users/preferences/_form.html.erb +++ b/app/views/users/preferences/_form.html.erb @@ -1,6 +1,6 @@ <%= simple_form_for(user, url: user_preferences_path, method: :patch) do |f| %> - <%= f.input :locale, placeholder: t(".locale.placeholder"), required: true, autofocus: true, prompt: t(".locale.prompt"), as: :select, collection: options_for_locale %> - <%= f.input :time_zone, placeholder: t(".timezone.placeholder"), required: true, autofocus: true %> + <%= f.input :locale, label: t(".locale.label"), placeholder: t(".locale.placeholder"), required: true, autofocus: true, prompt: t(".locale.prompt"), as: :select, collection: options_for_locale %> + <%= f.input :time_zone, label: t(".time_zone.label"), placeholder: t(".time_zone.placeholder"), required: true, autofocus: true %>
<%= f.button :submit, t(".submit_button") %>
diff --git a/config/locales/kiqr.en.yml b/config/locales/kiqr.en.yml index dbbc84b..274b7a8 100644 --- a/config/locales/kiqr.en.yml +++ b/config/locales/kiqr.en.yml @@ -233,9 +233,9 @@ en: title: "User preferences" description: "Update your user preferences." form: - email: - label: "Email address" - placeholder: "Enter a valid email address" + time_zone: + label: "Time zone" + placeholder: "Select a time zone" locale: label: "Language" prompt: "Select a language"