aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorXinhui2017-11-07 15:57:15 +0100
committerXinhui2017-11-07 15:57:15 +0100
commit1f68a5401ff63d568ba8fbecd3c3ab06335f91e7 (patch)
tree1692bf13af31929a2721128c20e9392ff0db3019 /app
parent27b40099c0b9498710882d44db80df04037a6f84 (diff)
downloadchouette-core-1f68a5401ff63d568ba8fbecd3c3ab06335f91e7.tar.bz2
Add missing breadcrumb on edit page4820_refactoring_breadcrumb
Diffstat (limited to 'app')
-rw-r--r--app/views/companies/edit.html.slim4
-rw-r--r--app/views/compliance_controls/edit.html.slim2
-rw-r--r--app/views/lines/edit.html.slim4
-rw-r--r--app/views/referential_companies/edit.html.slim4
-rw-r--r--app/views/referential_group_of_lines/edit.html.slim4
-rw-r--r--app/views/route_sections/edit.html.slim4
6 files changed, 17 insertions, 5 deletions
diff --git a/app/views/companies/edit.html.slim b/app/views/companies/edit.html.slim
index 6c415edfb..2f4c559b9 100644
--- a/app/views/companies/edit.html.slim
+++ b/app/views/companies/edit.html.slim
@@ -1,2 +1,4 @@
+- breadcrumb :company, @company
+
= title_tag t('companies.edit.title', company: @company.name)
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/compliance_controls/edit.html.slim b/app/views/compliance_controls/edit.html.slim
index 1d478e845..192e3521f 100644
--- a/app/views/compliance_controls/edit.html.slim
+++ b/app/views/compliance_controls/edit.html.slim
@@ -1,3 +1,5 @@
+- breadcrumb :compliance_control, @compliance_control
+
= pageheader 'jeux-de-controle',
t('compliance_controls.edit.title')
diff --git a/app/views/lines/edit.html.slim b/app/views/lines/edit.html.slim
index 0036d023b..3c2eee03f 100644
--- a/app/views/lines/edit.html.slim
+++ b/app/views/lines/edit.html.slim
@@ -1,3 +1,5 @@
+- breadcrumb :line, @line
+
= title_tag t('lines.edit.title', line: @line.name)
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/referential_companies/edit.html.slim b/app/views/referential_companies/edit.html.slim
index 6c415edfb..d191d2a37 100644
--- a/app/views/referential_companies/edit.html.slim
+++ b/app/views/referential_companies/edit.html.slim
@@ -1,2 +1,4 @@
+- breadcrumb :referential_company, @referential, @company
+
= title_tag t('companies.edit.title', company: @company.name)
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/referential_group_of_lines/edit.html.slim b/app/views/referential_group_of_lines/edit.html.slim
index 75d530b08..34383de39 100644
--- a/app/views/referential_group_of_lines/edit.html.slim
+++ b/app/views/referential_group_of_lines/edit.html.slim
@@ -1,3 +1,5 @@
+- breadcrumb :referential_group_of_line, @referential, @group_of_line
+
= title_tag t('group_of_lines.edit.title', :group_of_line => @group_of_line.name)
-= render 'form' \ No newline at end of file
+= render 'form'
diff --git a/app/views/route_sections/edit.html.slim b/app/views/route_sections/edit.html.slim
index 15944fd75..7c95def73 100644
--- a/app/views/route_sections/edit.html.slim
+++ b/app/views/route_sections/edit.html.slim
@@ -1,4 +1,6 @@
+- breadcrumb :referential_route_section, @referential, @route_section
+
= title_tag t('route_sections.edit.title')
= @map.to_html if @map
-== render 'form' \ No newline at end of file
+== render 'form'