<%= l(:label_repository) %>

<%= simple_format(l(:text_repository_usernames_mapping)) %> <% if @committers.empty? %>

<%= l(:label_no_data) %>

<% else %> <%= form_tag({}) do %> <% i = 0 -%> <% @committers.each do |committer, user_id| -%> <% i += 1 -%> <% end -%>
<%= 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) %>

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

<% end %> <% end %>