2019-02-20 11:56:19 -05:00
|
|
|
= form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-localization-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-11-06 16:16:49 -05:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2019-01-10 16:06:42 -05:00
|
|
|
= f.label :first_day_of_week, _('Default first day of the week'), class: 'label-bold'
|
|
|
|
= f.select :first_day_of_week, first_day_of_week_choices, {}, class: 'form-control'
|
2018-11-06 16:16:49 -05:00
|
|
|
.form-text.text-muted
|
2018-11-13 13:38:26 -05:00
|
|
|
= _('Default first day of the week in calendars and date pickers.')
|
2018-11-06 16:16:49 -05:00
|
|
|
|
2019-06-11 05:48:42 -04:00
|
|
|
.form-group
|
2019-06-11 06:40:01 -04:00
|
|
|
= f.label :time_tracking, _('Time tracking'), class: 'label-bold'
|
2019-06-11 05:48:42 -04:00
|
|
|
.form-check
|
2019-06-11 06:40:01 -04:00
|
|
|
= f.check_box :time_tracking_limit_to_hours, class: 'form-check-input'
|
|
|
|
= f.label :time_tracking_limit_to_hours, class: 'form-check-label' do
|
|
|
|
= _('Limit display of time tracking units to hours.')
|
2019-06-11 05:48:42 -04:00
|
|
|
|
2020-10-14 11:08:42 -04:00
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-success"
|