diff app/views/repositories/committers.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents cbb26bc654de
children dffacf8a6908
line wrap: on
line diff
--- a/app/views/repositories/committers.html.erb	Wed Jun 27 14:54:18 2012 +0100
+++ b/app/views/repositories/committers.html.erb	Mon Jan 07 12:01:42 2013 +0000
@@ -6,7 +6,7 @@
 <p class="nodata"><%= l(:label_no_data) %></p>
 <% else %>
 
-<% form_tag({}) do %>
+<%= form_tag({}) do %>
 <table class="list">
 <thead>
   <tr>
@@ -21,7 +21,15 @@
     <td><%=h committer %></td>
     <td>
       <%= hidden_field_tag "committers[#{i}][]", committer %>
-      <%= select_tag "committers[#{i}][]", content_tag('option', "-- #{l :actionview_instancetag_blank_option} --", :value => '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>
+      <%= select_tag "committers[#{i}][]",
+                      content_tag(
+                            'option',
+                            "-- #{l :actionview_instancetag_blank_option} --",
+                            :value => ''
+                          ) +
+                        options_from_collection_for_select(
+                            @users, 'id', 'name', user_id.to_i
+                          ) %>
     </td>
   </tr>
   <% i += 1 -%>