##// END OF EJS Templates
replace tabs to spaces at app/views/repositories/committers.html.erb...
Toshi MARUYAMA -
r7169:4f132c7f3d60
parent child
Show More
@@ -9,26 +9,26
9 9 <% form_tag({}) do %>
10 10 <table class="list">
11 11 <thead>
12 <tr>
13 <th><%= l(:field_login) %></th>
14 <th><%= l(:label_user) %></th>
15 </tr>
12 <tr>
13 <th><%= l(:field_login) %></th>
14 <th><%= l(:label_user) %></th>
15 </tr>
16 16 </thead>
17 17 <tbody>
18 18 <% i = 0 -%>
19 19 <% @committers.each do |committer, user_id| -%>
20 <tr class="<%= cycle 'odd', 'even' %>">
21 <td><%=h committer %></td>
22 <td>
23 <%= hidden_field_tag "committers[#{i}][]", committer %>
24 <%= 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) %>
25 </td>
26 </tr>
27 <% i += 1 -%>
20 <tr class="<%= cycle 'odd', 'even' %>">
21 <td><%=h committer %></td>
22 <td>
23 <%= hidden_field_tag "committers[#{i}][]", committer %>
24 <%= 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) %>
25 </td>
26 </tr>
27 <% i += 1 -%>
28 28 <% end -%>
29 29 </tbody>
30 30 </table>
31 31 <p><%= submit_tag(l(:button_update)) %></p>
32 32 <% end %>
33 33
34 <% end %> No newline at end of file
34 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now