From 88841ec64252100fdeff645ed0cb5176ff613750 Mon Sep 17 00:00:00 2001 From: HDinger Date: Wed, 4 May 2016 16:06:51 +0200 Subject: [PATCH] Remove information from toolbar in admin/cf (#4392) --- app/views/custom_fields/edit.html.erb | 3 +-- app/views/custom_fields/new.html.erb | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/custom_fields/edit.html.erb b/app/views/custom_fields/edit.html.erb index 9d802d7f2a..b51d9f1a0b 100644 --- a/app/views/custom_fields/edit.html.erb +++ b/app/views/custom_fields/edit.html.erb @@ -31,8 +31,7 @@ See doc/COPYRIGHT.rdoc for more details. <% local_assigns[:additional_breadcrumb] = link_to(l(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)), @custom_field.name %> -<%= breadcrumb_toolbar link_to(l(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)), - @custom_field.name +<%= breadcrumb_toolbar @custom_field.name %> <%= labelled_tabular_form_for @custom_field, as: :custom_field, diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erb index 2bdb058cbf..bff4753c79 100644 --- a/app/views/custom_fields/new.html.erb +++ b/app/views/custom_fields/new.html.erb @@ -30,8 +30,7 @@ See doc/COPYRIGHT.rdoc for more details. <% html_title l(:label_administration), l(:label_custom_field_new) %> <% local_assigns[:additional_breadcrumb] = link_to(l(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)), l(:label_custom_field_new) %> -<%= breadcrumb_toolbar link_to(l(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)), - l(:label_custom_field_new) +<%= breadcrumb_toolbar l(:label_custom_field_new) %> <%= labelled_tabular_form_for @custom_field, as: :custom_field,