aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/group_of_lines
diff options
context:
space:
mode:
authorXinhui2017-10-20 11:14:03 +0200
committerXinhui2017-10-20 11:14:03 +0200
commit5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b (patch)
tree867ed06539d5b7b7b6fa79b7d6190890099144a1 /app/views/group_of_lines
parent5d9793a52fcdf3009e247eeaace4cdd31f33b45a (diff)
downloadchouette-core-5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b.tar.bz2
Breadcrumb for group_of_lines
Diffstat (limited to 'app/views/group_of_lines')
-rw-r--r--app/views/group_of_lines/edit.html.slim3
-rw-r--r--app/views/group_of_lines/index.html.slim1
-rw-r--r--app/views/group_of_lines/new.html.slim3
-rw-r--r--app/views/group_of_lines/show.html.slim2
4 files changed, 7 insertions, 2 deletions
diff --git a/app/views/group_of_lines/edit.html.slim b/app/views/group_of_lines/edit.html.slim
index 75d530b08..ef7a405d3 100644
--- a/app/views/group_of_lines/edit.html.slim
+++ b/app/views/group_of_lines/edit.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :group_of_line, @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/group_of_lines/index.html.slim b/app/views/group_of_lines/index.html.slim
index 69b1cd0d6..28f3ab264 100644
--- a/app/views/group_of_lines/index.html.slim
+++ b/app/views/group_of_lines/index.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :group_of_lines, @line_referential
= title_tag t('group_of_lines.index.title')
= search_form_for @q, :url => line_referential_group_of_lines_path(@line_referential), remote: true, :html => {:method => :get, class: "form-inline", :id => "search", role: "form"} do |f|
diff --git a/app/views/group_of_lines/new.html.slim b/app/views/group_of_lines/new.html.slim
index 36b5d6b4e..395c2b3e7 100644
--- a/app/views/group_of_lines/new.html.slim
+++ b/app/views/group_of_lines/new.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :group_of_lines, @line_referential
= title_tag t('group_of_lines.new.title')
-== render 'form' \ No newline at end of file
+== render 'form'
diff --git a/app/views/group_of_lines/show.html.slim b/app/views/group_of_lines/show.html.slim
index b934cb1ef..de215bfa0 100644
--- a/app/views/group_of_lines/show.html.slim
+++ b/app/views/group_of_lines/show.html.slim
@@ -1,3 +1,5 @@
+- breadcrumb :group_of_line, @group_of_line
+
= title_tag t('group_of_lines.show.title', :group_of_line => @group_of_line.name )
.group_of_line_show