aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referentials
diff options
context:
space:
mode:
authorjpl2017-07-25 10:31:31 +0200
committerjpl2017-07-25 10:31:31 +0200
commit9ced7dec0adcdd886fba68e311d8d784434d9af1 (patch)
treeba85ae3019e651d3833e288e19971d40bfd06d8a /app/views/referentials
parent42c984546c996c646f7f59a85a55f529ae696669 (diff)
downloadchouette-core-9ced7dec0adcdd886fba68e311d8d784434d9af1.tar.bz2
Refs #4126: Clean up hardcore strings from clean_up
Diffstat (limited to 'app/views/referentials')
-rw-r--r--app/views/referentials/show.html.slim8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim
index d3687c3a7..425f8014a 100644
--- a/app/views/referentials/show.html.slim
+++ b/app/views/referentials/show.html.slim
@@ -91,9 +91,13 @@
.row
.col-lg-8.col-ld-offset-2.col-md-8.col-md-offset-2.col-sm-8.col-sm-offset-2.col-xs-12
= f.input :date_type, as: :radio_buttons, label: false
- = f.input :begin_date, as: :date, label: t('titles.clean_up.begin_date'),:wrapper_html => { class: 'date smart_date', title: t('titles.clean_up.begin_date') }
- = f.input :end_date, as: :date, label: t('titles.clean_up.end_date'), :wrapper_html => { class: 'date cleanup_end_date_wrapper smart_date', title: t('titles.clean_up.end_date'), id: "end_date" }
+ .col-lg-8.col-ld-offset-2.col-md-8.col-md-offset-2.col-sm-8.col-sm-offset-2.col-xs-12
+ label.control-label.begin_date = t('titles.clean_up.begin_date')
+ label.control-label.end_date.hidden = t('titles.clean_up.end_date')
+ = f.input :begin_date, as: :date, label: false, wrapper_html: { class: 'date smart_date' }
+
+ = f.input :end_date, as: :date, label: t('titles.clean_up.end_date'), wrapper_html: { class: 'date cleanup_end_date_wrapper smart_date', id: "end_date" }
.modal-footer
button.btn.btn-link type='button' data-dismiss='modal' Annuler