Mercurial > hg > soundsoftware-site
diff app/views/repositories/committers.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | c6c2cbd0afee |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/views/repositories/committers.html.erb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/views/repositories/committers.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -9,26 +9,26 @@ <% form_tag({}) do %> <table class="list"> <thead> - <tr> - <th><%= l(:field_login) %></th> - <th><%= l(:label_user) %></th> - </tr> + <tr> + <th><%= l(:field_login) %></th> + <th><%= l(:label_user) %></th> + </tr> </thead> <tbody> <% i = 0 -%> <% @committers.each do |committer, user_id| -%> - <tr class="<%= cycle 'odd', 'even' %>"> - <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) %> - </td> - </tr> - <% i += 1 -%> + <tr class="<%= cycle 'odd', 'even' %>"> + <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) %> + </td> + </tr> + <% i += 1 -%> <% end -%> </tbody> </table> <p><%= submit_tag(l(:button_update)) %></p> <% end %> -<% end %> \ No newline at end of file +<% end %>