diff options
| -rw-r--r-- | app/views/stop_areas/index.html.slim | 17 | 
1 files changed, 8 insertions, 9 deletions
| diff --git a/app/views/stop_areas/index.html.slim b/app/views/stop_areas/index.html.slim index 7701fb268..b234274fa 100644 --- a/app/views/stop_areas/index.html.slim +++ b/app/views/stop_areas/index.html.slim @@ -12,19 +12,18 @@          button.btn.btn-primary type="submit"            span.fa.fa-search -= search_form_for @q, url: stop_area_referential_stop_areas_path(@stop_area_referential), remote: true, html: { method: :get, class: "form", id: "search", role: "form"} do |f| -  .well.well-sm -    .row -      .col-md-10.col-sm-9 +    a data-toggle="collapse" data-parent="#search" href="#advanced_search" +      i.fa.fa-plus +      = "#{t('.advanced_search')}" + + +    #advanced_search.panel-collapse.collapse +      .panel-body          .row -          .col-md-3.col-sm-3 +          .col-sm-3              = f.text_field :zip_code_cont, placeholder: "#{t('.zip_code')}", class: 'form-control typeahead'            .col-md-5.col-sm-5              = f.select(:area_type_cont, options_from_collection_for_select(Chouette::StopArea.stop_area_types, 'name', Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } ), { include_blank: t('.area_type') }, { class: 'form-control' }) -             -      .col-md-2.col-sm-3 -        button.btn.btn-primary.btn-block type="submit" Filtrer -  #stop_areas    = render 'stop_areas' | 
