diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erb index 597a414..0080662 100644 --- a/app/views/repositories/committers.html.erb +++ b/app/views/repositories/committers.html.erb @@ -9,26 +9,26 @@ <% form_tag({}) do %> - - - - + + + + <% i = 0 -%> <% @committers.each do |committer, user_id| -%> - - - - - <% i += 1 -%> + + + + + <% i += 1 -%> <% end -%>
<%= l(:field_login) %><%= l(:label_user) %>
<%= l(:field_login) %><%= l(:label_user) %>
<%=h committer %> - <%= 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) %> -
<%=h committer %> + <%= 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) %> +

<%= submit_tag(l(:button_update)) %>

<% end %> -<% end %> \ No newline at end of file +<% end %>