summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-09 00:42:12 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-09 00:42:12 +0000
commit3acefa892342202a6fcb87a2348ce4b1e6b926da (patch)
tree4a467b045b8cad3ea80f4f714c429fdbc5a06282 /app/views
parent4a11737d1c48cc1c7d893e6101564a253eca926e (diff)
downloadredmine-3acefa892342202a6fcb87a2348ce4b1e6b926da.tar.gz
redmine-3acefa892342202a6fcb87a2348ce4b1e6b926da.zip
remove unneeded h() from app/views/projects/settings/_members.html.erb
Rails3 escapes by default. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12098 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/settings/_members.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb
index 19e61097b..dc8d1e483 100644
--- a/app/views/projects/settings/_members.html.erb
+++ b/app/views/projects/settings/_members.html.erb
@@ -17,14 +17,14 @@
<tr id="member-<%= member.id %>" class="<%= cycle 'odd', 'even' %> member">
<td class="<%= member.principal.class.name.downcase %>"><%= link_to_user member.principal %></td>
<td class="roles">
- <span id="member-<%= member.id %>-roles"><%=h member.roles.sort.collect(&:to_s).join(', ') %></span>
+ <span id="member-<%= member.id %>-roles"><%= member.roles.sort.collect(&:to_s).join(', ') %></span>
<%= form_for(member, {:as => :membership, :remote => true, :url => membership_path(member),
:method => :put,
:html => { :id => "member-#{member.id}-roles-form", :class => 'hol' }}
) do |f| %>
<p><% roles.each do |role| %>
<label><%= check_box_tag 'membership[role_ids][]', role.id, member.roles.include?(role),
- :disabled => member.member_roles.detect {|mr| mr.role_id == role.id && !mr.inherited_from.nil?} %> <%=h role %></label><br />
+ :disabled => member.member_roles.detect {|mr| mr.role_id == role.id && !mr.inherited_from.nil?} %> <%= role %></label><br />
<% end %></p>
<%= hidden_field_tag 'membership[role_ids][]', '' %>
<p><%= submit_tag l(:button_save), :class => "small" %>
@@ -65,7 +65,7 @@
<p><%= l(:label_role_plural) %>:
<% roles.each do |role| %>
- <label><%= check_box_tag 'membership[role_ids][]', role.id %> <%=h role %></label>
+ <label><%= check_box_tag 'membership[role_ids][]', role.id %> <%= role %></label>
<% end %></p>
<p><%= submit_tag l(:button_add), :id => 'member-add-submit' %></p>