aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_stop_areas
diff options
context:
space:
mode:
authorXinhui2017-10-20 15:37:43 +0200
committerXinhui2017-10-20 15:39:31 +0200
commit3d1a9601cac27dfb6b74c5f53e9042c246296928 (patch)
treeca68c66eb3d42dee4481197bd306f405c0a2fc3a /app/views/referential_stop_areas
parentfccf690adb8769dc5050fa231a961b5e48146848 (diff)
downloadchouette-core-3d1a9601cac27dfb6b74c5f53e9042c246296928.tar.bz2
Breadcrumb for referential_stop_areas
Diffstat (limited to 'app/views/referential_stop_areas')
-rw-r--r--app/views/referential_stop_areas/edit.html.slim3
-rw-r--r--app/views/referential_stop_areas/index.html.slim1
-rw-r--r--app/views/referential_stop_areas/new.html.slim3
-rw-r--r--app/views/referential_stop_areas/show.html.slim1
4 files changed, 6 insertions, 2 deletions
diff --git a/app/views/referential_stop_areas/edit.html.slim b/app/views/referential_stop_areas/edit.html.slim
index a999ab715..fc7220095 100644
--- a/app/views/referential_stop_areas/edit.html.slim
+++ b/app/views/referential_stop_areas/edit.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :referential_stop_area, @referential, @stop_area
= title_tag t('stop_areas.edit.title', stop_area: @stop_area.name)
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/referential_stop_areas/index.html.slim b/app/views/referential_stop_areas/index.html.slim
index 7bf39eabd..718cbb472 100644
--- a/app/views/referential_stop_areas/index.html.slim
+++ b/app/views/referential_stop_areas/index.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :referential_stop_areas, @referential
= title_tag t('stop_areas.index.title')
= search_form_for @q, :url => referential_stop_areas_path(@referential), remote: true, :html => {:method => :get, class: "form-inline", :id => "search", role: "form"} do |f|
diff --git a/app/views/referential_stop_areas/new.html.slim b/app/views/referential_stop_areas/new.html.slim
index 54fd59422..87ba9b657 100644
--- a/app/views/referential_stop_areas/new.html.slim
+++ b/app/views/referential_stop_areas/new.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :referential_stop_areas, @referential
= title_tag t('stop_areas.new.title')
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/referential_stop_areas/show.html.slim b/app/views/referential_stop_areas/show.html.slim
index fa383c82d..b9a1c9899 100644
--- a/app/views/referential_stop_areas/show.html.slim
+++ b/app/views/referential_stop_areas/show.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :referential_stop_area, @referential, @stop_area
/ PageHeader
= pageheader 'arret',
@stop_area.name,