##// END OF EJS Templates
test: replace "should_route" of "activities" to "assert_routing" at integration/routing_test.rb...
test: replace "should_route" of "activities" to "assert_routing" at integration/routing_test.rb shoulda 2.11.3 does not support Rails2 legacy route on Rails 3.0.11. <pre> Error: test: wikis (plural, admin setup) should route POST /projects/ladida/wiki/destroy to/from {:action=>"destroy", :id=>"ladida", :controller=>"wikis"}. (RoutingTest): NameError: uninitialized constant Routing </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8201 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7169:4f132c7f3d60
r8081:0b4aed008c96
Show More
committers.html.erb
34 lines | 879 B | text/plain | TextLexer
<h2><%= l(:label_repository) %></h2>
<%= simple_format(l(:text_repository_usernames_mapping)) %>
<% if @committers.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
<% form_tag({}) do %>
<table class="list">
<thead>
<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 -%>
<% end -%>
</tbody>
</table>
<p><%= submit_tag(l(:button_update)) %></p>
<% end %>
<% end %>