diff options
| author | Zog | 2018-01-08 08:44:34 +0100 |
|---|---|---|
| committer | Zog | 2018-01-08 08:44:34 +0100 |
| commit | de4df1dfe13dd9a1b61d14bfecdec1b669cce1ba (patch) | |
| tree | 2bd6b967e8a171eda7859b29ee3b8dc4c8d05945 /app/views | |
| parent | fa63d6e3d51ccc0b3a38616747fcd91b5fdfbba5 (diff) | |
| download | chouette-core-de4df1dfe13dd9a1b61d14bfecdec1b669cce1ba.tar.bz2 | |
Refs #5444 @0.5h; Filter VJs on company in ReferentialVJs#index5444-add-company-filter-on-referentialjourneys-index
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/referential_vehicle_journeys/_filters.html.slim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/referential_vehicle_journeys/_filters.html.slim b/app/views/referential_vehicle_journeys/_filters.html.slim index 963da8cea..6d22e1378 100644 --- a/app/views/referential_vehicle_journeys/_filters.html.slim +++ b/app/views/referential_vehicle_journeys/_filters.html.slim @@ -5,6 +5,10 @@ span.input-group-btn button.btn.btn-default#search-btn type='submit' span.fa.fa-search + .ffg-row + .form-group.togglable + = f.label Chouette::VehicleJourney.human_attribute_name(:company_id), required: false, class: 'control-label' + = f.input :company_id_eq_any, collection: @all_companies.select(:id, :name).order(name: :asc), as: :check_boxes, label: false, label_method: lambda{|l| ("<span>" + l.name + "</span>").html_safe}, required: false, wrapper_html: { class: 'checkbox_list'} .actions = link_to 'Effacer', referential_vehicle_journeys_path(@referential), class: 'btn btn-link' |
