aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorXinhui2017-03-17 16:59:08 +0100
committerXinhui2017-03-17 16:59:08 +0100
commit026c262e2a128a5ce2918deed1a9d6febf5d138e (patch)
tree8ba338f69d68a50dbf51ebdb82bd57373bd980ac /app/views
parentb2bdd31f0b073c8b073a26ad8185848bea454157 (diff)
downloadchouette-core-026c262e2a128a5ce2918deed1a9d6febf5d138e.tar.bz2
Add search by number & objectid for referential#show
Refs #2866
Diffstat (limited to 'app/views')
-rw-r--r--app/views/referentials/_filters.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/referentials/_filters.html.slim b/app/views/referentials/_filters.html.slim
index eadd72d9f..1ed0939ff 100644
--- a/app/views/referentials/_filters.html.slim
+++ b/app/views/referentials/_filters.html.slim
@@ -1,7 +1,7 @@
= search_form_for @q, url: referential_path(@referential.id), class: 'form form-filter' do |f|
.ffg-row
.input-group.search_bar
- = f.search_field :name_cont, class: 'form-control', placeholder: 'Indiquez un nom de ligne'
+ = f.search_field :name_or_number_or_objectid_cont, class: 'form-control', placeholder: t('.name_or_number_or_objectid')
span.input-group-btn
button.btn.btn-default type='submit'
span.fa.fa-search