Mercurial > hg > soundsoftware-site
diff .svn/pristine/e1/e1c769f9072b4814a62425d3245d018f759d0291.svn-base @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/e1/e1c769f9072b4814a62425d3245d018f759d0291.svn-base Tue Sep 09 09:29:00 2014 +0100 @@ -0,0 +1,42 @@ +<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_save)) %></p> +<% end %> + +<% end %>