diff options
| author | Zog | 2018-02-06 11:54:19 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:11:33 -0800 | 
| commit | c0cd54efd584c8875ee6e04fc39c8f09cc1f1e4c (patch) | |
| tree | 4f14aacca5b5b1e007e4995b3c5c0b358f1803e5 | |
| parent | 4c89c581c9dbb1a58365b25a9789a747346e8992 (diff) | |
| download | chouette-core-c0cd54efd584c8875ee6e04fc39c8f09cc1f1e4c.tar.bz2 | |
Fix StopAreas filters when no filter is present
| -rw-r--r-- | app/views/stop_areas/_filters.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/stop_areas/_filters.html.slim b/app/views/stop_areas/_filters.html.slim index 1d71d477a..00369d3ed 100644 --- a/app/views/stop_areas/_filters.html.slim +++ b/app/views/stop_areas/_filters.html.slim @@ -12,7 +12,7 @@      .form-group.togglable class=filter_item_class(params[:q], :area_type_eq_any)        = f.label Chouette::StopArea.human_attribute_name(:area_type), required: false, class: 'control-label' -      = f.input :area_type_eq_any, checked: params[:q][:area_type_eq_any], collection: Chouette::AreaType.options, as: :check_boxes, label: false, label_method: lambda{|w| ("<span>" + w[0] + "</span>").html_safe}, required: false, wrapper_html: { class: 'checkbox_list' } +      = f.input :area_type_eq_any, checked: params[:q] && params[:q][:area_type_eq_any], collection: Chouette::AreaType.options, as: :check_boxes, label: false, label_method: lambda{|w| ("<span>" + w[0] + "</span>").html_safe}, required: false, wrapper_html: { class: 'checkbox_list' }    .actions      = link_to 'Effacer', @workbench, class: 'btn btn-link' | 
