aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/access_links/show.html.slim2
-rw-r--r--app/views/access_points/_form.html.slim2
-rw-r--r--app/views/access_points/show.html.slim4
-rw-r--r--app/views/connection_links/show.html.slim2
-rw-r--r--app/views/group_of_lines/show.html.slim2
-rw-r--r--app/views/journey_patterns/show.html.slim2
-rw-r--r--app/views/referential_group_of_lines/show.html.slim2
-rw-r--r--app/views/referential_stop_areas/_form.html.slim3
-rw-r--r--app/views/stop_areas/_form.html.slim2
9 files changed, 1 insertions, 20 deletions
diff --git a/app/views/access_links/show.html.slim b/app/views/access_links/show.html.slim
index 59f72a55f..ebc801313 100644
--- a/app/views/access_links/show.html.slim
+++ b/app/views/access_links/show.html.slim
@@ -1,8 +1,6 @@
= title_tag t('access_links.show.title', access_link: @access_link.name )
.access_link_show
- = @map.to_html
-
.summary
p
label = "#{@access_link.human_attribute_name('access_link_type')} : "
diff --git a/app/views/access_points/_form.html.slim b/app/views/access_points/_form.html.slim
index 5ba7a6863..5c0c59174 100644
--- a/app/views/access_points/_form.html.slim
+++ b/app/views/access_points/_form.html.slim
@@ -1,6 +1,4 @@
.container-fluid
- = @map.to_html if @map
-
= semantic_form_for [@referential, @stop_area, @access_point] do |form|
= form.inputs do
= form.input :id, as: :hidden
diff --git a/app/views/access_points/show.html.slim b/app/views/access_points/show.html.slim
index 7c87fa16e..1c46e2b5c 100644
--- a/app/views/access_points/show.html.slim
+++ b/app/views/access_points/show.html.slim
@@ -1,8 +1,6 @@
= title_tag t('access_points.show.title', access_point: @access_point.name)
.access_point_show
- = @map.to_html if @access_point.long_lat_type != nil
-
.summary
p
label = "#{@access_point.human_attribute_name('comment')} : "
@@ -92,7 +90,7 @@ div
div.access_link_pairs
table
= render partial: 'access_link_pairs/access_link_pair', collection: access_links_pairs(@detail_access_links)
-
+
- content_for :sidebar do
ul.actions
li
diff --git a/app/views/connection_links/show.html.slim b/app/views/connection_links/show.html.slim
index 5d8864bb5..ca6593131 100644
--- a/app/views/connection_links/show.html.slim
+++ b/app/views/connection_links/show.html.slim
@@ -1,8 +1,6 @@
= title_tag t('connection_links.show.title', :connection_link => @connection_link.name)
.connection_link_show
- = @map.to_html
-
.summary
p
label = "#{@connection_link.human_attribute_name(:departure)} : "
diff --git a/app/views/group_of_lines/show.html.slim b/app/views/group_of_lines/show.html.slim
index de215bfa0..a447a345d 100644
--- a/app/views/group_of_lines/show.html.slim
+++ b/app/views/group_of_lines/show.html.slim
@@ -3,8 +3,6 @@
= title_tag t('group_of_lines.show.title', :group_of_line => @group_of_line.name )
.group_of_line_show
- = @map.to_html
-
.summary
p
label = "#{@group_of_line.human_attribute_name('registration_number')} : "
diff --git a/app/views/journey_patterns/show.html.slim b/app/views/journey_patterns/show.html.slim
index a77536130..cff0321ec 100644
--- a/app/views/journey_patterns/show.html.slim
+++ b/app/views/journey_patterns/show.html.slim
@@ -1,8 +1,6 @@
= title_tag t('journey_patterns.show.title', journey_pattern: journey_name( @journey_pattern), route: @route.name )
.journey_pattern_show
- = @map.to_html
-
.summary
p
label = "#{@journey_pattern.human_attribute_name(:name)} : "
diff --git a/app/views/referential_group_of_lines/show.html.slim b/app/views/referential_group_of_lines/show.html.slim
index 504af0187..61a762350 100644
--- a/app/views/referential_group_of_lines/show.html.slim
+++ b/app/views/referential_group_of_lines/show.html.slim
@@ -2,8 +2,6 @@
= title_tag t('group_of_lines.show.title', :group_of_line => @group_of_line.name )
.group_of_line_show
- = @map.to_html
-
.summary
p
label = "#{@group_of_line.human_attribute_name('registration_number')} : "
diff --git a/app/views/referential_stop_areas/_form.html.slim b/app/views/referential_stop_areas/_form.html.slim
index 8181ec3f3..3921c8bf1 100644
--- a/app/views/referential_stop_areas/_form.html.slim
+++ b/app/views/referential_stop_areas/_form.html.slim
@@ -1,9 +1,6 @@
= semantic_form_for [@referential, @stop_area] do |form|
.row
.container-fluid
- - if !manage_itl && @map
- = @map.to_html
-
= form.inputs do
= form.input :id, as: :hidden
= form.input :name, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.name")}
diff --git a/app/views/stop_areas/_form.html.slim b/app/views/stop_areas/_form.html.slim
index d6682ef70..1cba88f94 100644
--- a/app/views/stop_areas/_form.html.slim
+++ b/app/views/stop_areas/_form.html.slim
@@ -1,9 +1,7 @@
= simple_form_for [@stop_area_referential, @stop_area], html: {class: 'form-horizontal', id: 'stop_area_form'}, wrapper: :horizontal_form do |f|
.row
.col-lg-12
- /- if !manage_itl && @map
- if !manage_itl
- /= @map.to_html
= f.input :id, as: :hidden
= f.input :name, :input_html => {:title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.name")}
- if has_feature?(:stop_area_localized_names)