From: Toshi MARUYAMA Date: Fri, 9 Aug 2013 00:42:12 +0000 (+0000) Subject: remove unneeded h() from app/views/projects/settings/_members.html.erb X-Git-Tag: 2.4.0~144 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3acefa892342202a6fcb87a2348ce4b1e6b926da;p=redmine.git 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 --- 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 @@ <%= link_to_user member.principal %> - <%=h member.roles.sort.collect(&:to_s).join(', ') %> + <%= member.roles.sort.collect(&:to_s).join(', ') %> <%= form_for(member, {:as => :membership, :remote => true, :url => membership_path(member), :method => :put, :html => { :id => "member-#{member.id}-roles-form", :class => 'hol' }} ) do |f| %>

<% roles.each do |role| %>
+ :disabled => member.member_roles.detect {|mr| mr.role_id == role.id && !mr.inherited_from.nil?} %> <%= role %>
<% end %>

<%= hidden_field_tag 'membership[role_ids][]', '' %>

<%= submit_tag l(:button_save), :class => "small" %> @@ -65,7 +65,7 @@

<%= l(:label_role_plural) %>: <% roles.each do |role| %> - + <% end %>

<%= submit_tag l(:button_add), :id => 'member-add-submit' %>