diff options
| author | Xinhui | 2017-05-16 15:07:29 +0200 |
|---|---|---|
| committer | Xinhui | 2017-05-16 15:07:34 +0200 |
| commit | ca98edfd6c66d24e6bb8ff5328816e0567fb05fc (patch) | |
| tree | 34eefe586f94e162bf29347f86d4e4e8e6f79975 /app | |
| parent | e23c621af8b25dbdacc9e8ff6f2bd3c31bad63b8 (diff) | |
| download | chouette-core-ca98edfd6c66d24e6bb8ff5328816e0567fb05fc.tar.bz2 | |
Lines#show filter routes by wayback
Refs #3398
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim index b60342f19..5efdbc546 100644 --- a/app/views/referential_lines/show.html.slim +++ b/app/views/referential_lines/show.html.slim @@ -51,7 +51,9 @@ .col-lg-12 = search_form_for @q, url: referential_line_path(@referential, @line), class: 'form form-filter' do |f| .input-group.search_bar - = f.search_field :name_cont, class: 'form-control', placeholder: "Indiquez un nom d'itinéraire..." + = f.search_field :name_or_objectid_cont, class: 'form-control', placeholder: "Indiquez un nom d'itinéraire..." + + = f.input :wayback_eq_any, as: :checkboxes, class: 'form-control',collection: Chouette::Route.wayback.values, as: :check_boxes, label: false, required: false, wrapper_html: { class: 'checkbox_list'}, label_method: lambda{|l| ("<span>" + t("enumerize.route.wayback.#{l}") + "</span>").html_safe} span.input-group-btn button.btn.btn-default type='submit' |
