diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/referential_stop_areas/index.html.slim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/referential_stop_areas/index.html.slim b/app/views/referential_stop_areas/index.html.slim index 9fae73a37..fac1c7449 100644 --- a/app/views/referential_stop_areas/index.html.slim +++ b/app/views/referential_stop_areas/index.html.slim @@ -7,7 +7,7 @@ .panel.panel-default .panel-heading .input-group.col-md-9.col-sm-9 - = f.text_field :name_cont, :placeholder => "#{t('.name')}", class: 'form-control' + = f.text_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' .input-group-btn button.btn.btn-default type="submit" i.fa.fa-search @@ -22,6 +22,8 @@ .col-sm-3 = f.text_field :zip_code_cont, placeholder: "#{t('.zip_code')}", class: 'form-control typeahead', style: 'width: 100%' .col-sm-3 + = f.text_field :city_name_cont, placeholder: "#{t('.city_name')}", class: 'form-control typeahead', style: 'width: 100%' + .col-sm-3 = 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: '' }, { class: 'form-control', style: 'width: 100%', 'data-select2ed': 'true', 'data-select2ed-placeholder': t(".area_type") }) .row .col-sm-3 |
