aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_stop_areas
diff options
context:
space:
mode:
authorjpl2016-12-05 10:45:35 +0100
committerjpl2016-12-05 10:45:35 +0100
commitfdb0f3b15df731de3678eff5afa970d9d6c9c7fa (patch)
tree5924e081825858f8748b9d7d9cf13d194b2992bf /app/views/referential_stop_areas
parent703a37f054df7fc35ebf948cb5a4548f16136bd2 (diff)
downloadchouette-core-fdb0f3b15df731de3678eff5afa970d9d6c9c7fa.tar.bz2
Refs #2140: remove lines from stop_areas
Diffstat (limited to 'app/views/referential_stop_areas')
-rw-r--r--app/views/referential_stop_areas/_stop_areas.html.slim2
-rw-r--r--app/views/referential_stop_areas/index.html.slim2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/referential_stop_areas/_stop_areas.html.slim b/app/views/referential_stop_areas/_stop_areas.html.slim
index f8551a0ac..f976eb327 100644
--- a/app/views/referential_stop_areas/_stop_areas.html.slim
+++ b/app/views/referential_stop_areas/_stop_areas.html.slim
@@ -1,6 +1,6 @@
- if @stop_areas.any?
= table_builder @stop_areas,
- { 'Object_id' => 'objectid', @stop_areas.human_attribute_name(:name) => 'name', @stop_areas.human_attribute_name(:registration_number) => 'registration_number', @stop_areas.human_attribute_name(:city_name) => 'city_name', @stop_areas.human_attribute_name(:zip_code) => 'zip_code', @stop_areas.human_attribute_name(:lines) => Proc.new { |n| n.try(:lines).try(:count) } },
+ { 'Object_id' => 'objectid', @stop_areas.human_attribute_name(:name) => 'name', @stop_areas.human_attribute_name(:registration_number) => 'registration_number', @stop_areas.human_attribute_name(:city_name) => 'city_name', @stop_areas.human_attribute_name(:zip_code) => 'zip_code' },
[:show, :edit, :delete],
'table table-bordered'
diff --git a/app/views/referential_stop_areas/index.html.slim b/app/views/referential_stop_areas/index.html.slim
index b92348e27..937131a37 100644
--- a/app/views/referential_stop_areas/index.html.slim
+++ b/app/views/referential_stop_areas/index.html.slim
@@ -7,7 +7,7 @@
= f.text_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control'
.input-group-btn
- button.btn.btn-default#search-btn type="submit"
+ button.btn.btn-primary#search-btn type="submit"
span.fa.fa-search
a data-toggle="collapse" data-parent="#search" href="#advanced_search"