aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-06-02 11:23:53 +0200
committerjpl2017-06-02 11:24:06 +0200
commit2c1dd12c196ba3850308701413cb555949a2aaaf (patch)
tree0dccc244321e4428746a7fc79c9eb634a8c865d1
parentc0d5559225a3558026c6390c8223481c76cb1025 (diff)
downloadchouette-core-2c1dd12c196ba3850308701413cb555949a2aaaf.tar.bz2
Refs #3650: adding query by name to ransack filter by short_name
-rw-r--r--app/views/calendars/_filters.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/calendars/_filters.html.slim b/app/views/calendars/_filters.html.slim
index 4f625e4f0..6bcf25f99 100644
--- a/app/views/calendars/_filters.html.slim
+++ b/app/views/calendars/_filters.html.slim
@@ -1,7 +1,7 @@
= search_form_for @q, url: calendars_path, builder: SimpleForm::FormBuilder, html: { method: :get, class: 'form form-filter' } do |f|
.ffg-row
.input-group.search_bar
- = f.search_field :short_name_cont, class: 'form-control', placeholder: 'Indiquez un nom de calendrier...'
+ = f.search_field :name_or_short_name_cont, class: 'form-control', placeholder: 'Indiquez un nom/nom court de calendrier...'
span.input-group-btn
button.btn.btn-default#search_btn type='submit'
span.fa.fa-search