diff options
| author | jpl | 2017-03-02 14:16:44 +0100 |
|---|---|---|
| committer | jpl | 2017-03-02 14:16:57 +0100 |
| commit | 3db14baba4d7b2980c6802a746c2e01c2693119b (patch) | |
| tree | 93b13661546a6ad64b7e7069a8ffe4b1bb840258 | |
| parent | 9708ce96fd330ace4869ffe64c29958d9957db15 (diff) | |
| download | chouette-core-3db14baba4d7b2980c6802a746c2e01c2693119b.tar.bz2 | |
remove number param on searchbar, for lines#index
| -rw-r--r-- | app/views/lines/index.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/lines.en.yml | 2 | ||||
| -rw-r--r-- | config/locales/lines.fr.yml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/lines/index.html.slim b/app/views/lines/index.html.slim index 90a2168d9..7fa9eb586 100644 --- a/app/views/lines/index.html.slim +++ b/app/views/lines/index.html.slim @@ -13,7 +13,7 @@ .col-lg-5.col-md-6.col-sm-6.col-xs-8 = search_form_for @q, url: line_referential_lines_path(@line_referential), html: {method: :get} do |f| .input-group.search_bar - = f.search_field :name_or_number_or_objectid_cont, placeholder: t('lines.index.name_or_number_or_objectid'), class: 'form-control' + = f.search_field :name_or_objectid_cont, placeholder: t('lines.index.name_or_objectid'), class: 'form-control' span.input-group-btn button.btn.btn-default#search-btn type='submit' diff --git a/config/locales/lines.en.yml b/config/locales/lines.en.yml index c9cec146b..35df30037 100644 --- a/config/locales/lines.en.yml +++ b/config/locales/lines.en.yml @@ -27,7 +27,7 @@ en: deactivated: "Disabled line" title: "Lines" name_or_number: "Search by name or number..." - name_or_number_or_objectid: "Search by name, number or objectid..." + name_or_objectid: "Search by name or objectid..." no_networks: "No networks" no_companies: "No companies" no_group_of_lines: "No group of lines" diff --git a/config/locales/lines.fr.yml b/config/locales/lines.fr.yml index d89020b4b..c12b233cd 100644 --- a/config/locales/lines.fr.yml +++ b/config/locales/lines.fr.yml @@ -27,7 +27,7 @@ fr: deactivated: "Ligne désactivée" title: "Lignes" name_or_number: "Recherche par nom ou indice..." - name_or_number_or_objectid: "Recherche par nom, indice ou objectid..." + name_or_objectid: "Recherche par nom ou objectid..." no_networks: "Aucun réseaux" no_companies: "Aucun transporteurs" no_group_of_lines: "Aucun groupes de ligne" |
