summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_localization.html.haml
blob: 87209da75fdd8bc349c000dadc16436e7a456160 (plain)
1
2
3
4
5
6
7
8
9
10
11
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-localization-settings'), html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting)

  %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'
      .form-text.text-muted
        Default first day of the week in calendars and date pickers.

  = f.submit 'Save changes', class: "btn btn-success"