From b778c51e9049ca2c0d745a699db6d93d53b71175 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 23 Feb 2015 10:11:08 +0000 Subject: Removed unneeded #h calls in views. git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/_form.html.erb | 4 ++-- app/views/custom_fields/_index.html.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/custom_fields') diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 0e1851d01..c5e2824c5 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -94,7 +94,7 @@ when "IssueCustomField" %> (@custom_field.trackers.include? tracker), :id => "custom_field_tracker_ids_#{tracker.id}" %> <% end %> <%= hidden_field_tag "custom_field[tracker_ids][]", '' %> @@ -103,7 +103,7 @@ when "IssueCustomField" %>
<%= l(:label_project_plural) %> <%= render_project_nested_lists(Project.all) do |p| - content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, @custom_field.projects.to_a.include?(p), :id => nil) + ' ' + h(p)) + content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, @custom_field.projects.to_a.include?(p), :id => nil) + ' ' + p) end %> <%= hidden_field_tag('custom_field[project_ids][]', '', :id => nil) %>

<%= check_all_links 'custom_field_project_ids' %>

diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb index 0b578d6ee..858665e93 100644 --- a/app/views/custom_fields/_index.html.erb +++ b/app/views/custom_fields/_index.html.erb @@ -13,7 +13,7 @@ <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> "> - <%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %> + <%= link_to custom_field.name, edit_custom_field_path(custom_field) %> <%= l(custom_field.format.label) %> <%= checked_image custom_field.is_required? %> <% if tab[:name] == 'IssueCustomField' %> -- cgit v1.2.3