diff options
author | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2018-11-13 21:38:26 +0300 |
---|---|---|
committer | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2019-02-06 19:33:57 +0300 |
commit | 8fabc92e8b4779030c4fa09d8e1c72f213814787 (patch) | |
tree | d79ecbda0b0b5a2814379d83edb4f2395182526c /app/views/admin/application_settings | |
parent | 5402f3c360eaa668782d53cdf04fcc1cb0a400ec (diff) |
Add helpers for first day of the week
Diffstat (limited to 'app/views/admin/application_settings')
-rw-r--r-- | app/views/admin/application_settings/_localization.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/application_settings/_localization.html.haml b/app/views/admin/application_settings/_localization.html.haml index 87209da75fd..7392b32ee89 100644 --- a/app/views/admin/application_settings/_localization.html.haml +++ b/app/views/admin/application_settings/_localization.html.haml @@ -4,8 +4,8 @@ %fieldset .form-group = f.label :default_first_day_of_week, _('Default first day of the week'), class: 'label-bold' - = f.select :default_first_day_of_week, options_for_select({_('Sunday') => 0, _('Monday') => 1}, @application_setting.default_first_day_of_week), {}, class: 'form-control' + = f.select :default_first_day_of_week, first_day_of_week_choices, {}, class: 'form-control' .form-text.text-muted - Default first day of the week in calendars and date pickers. + = _('Default first day of the week in calendars and date pickers.') - = f.submit 'Save changes', class: "btn btn-success" + = f.submit _('Save changes'), class: "btn btn-success" |