aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/calendars
diff options
context:
space:
mode:
authorjpl2017-06-16 11:37:20 +0200
committerjpl2017-06-16 11:37:20 +0200
commit0b6371b7248a2a731683d20f8b8bc12eb5f35bad (patch)
tree3d2859a7a585edea1bfba4a9404ef06f278701ef /app/views/calendars
parent1e38848dc427f7fe5bd5b0079c2fb9b1d491dca2 (diff)
downloadchouette-core-0b6371b7248a2a731683d20f8b8bc12eb5f35bad.tar.bz2
Refs #3789: changing select input by select2 one
Diffstat (limited to 'app/views/calendars')
-rw-r--r--app/views/calendars/_form.html.slim4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/calendars/_form.html.slim b/app/views/calendars/_form.html.slim
index 9aed9f7d8..3c152c61d 100644
--- a/app/views/calendars/_form.html.slim
+++ b/app/views/calendars/_form.html.slim
@@ -6,8 +6,8 @@
- if policy(@calendar).share?
.form-group.has_switch
- = f.label :shared, class: 'col-sm-4 control-label'
- = f.input :shared, as: :boolean, checked_value: true, unchecked_value: false, label: content_tag(:span, t("#{@calendar.shared}"), class: 'switch-label', data: {checkedValue: t('true'), uncheckedValue: t('false')}), wrapper_html: { class: 'col-sm-8'}
+ = f.label :shared, class: 'col-sm-4 col-xs-5 control-label'
+ = f.input :shared, as: :boolean, checked_value: true, unchecked_value: false, label: content_tag(:span, t("#{@calendar.shared}"), class: 'switch-label', data: {checkedValue: t('true'), uncheckedValue: t('false')}), wrapper_html: { class: 'col-sm-8 col-xs-7'}
.separator