Mercurial > hg > soundsoftware-site
comparison .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 |
comparison
equal
deleted
inserted
replaced
1516:b450a9d58aed | 1517:dffacf8a6908 |
---|---|
1 <h2><%= l(:label_repository) %></h2> | |
2 | |
3 <%= simple_format(l(:text_repository_usernames_mapping)) %> | |
4 | |
5 <% if @committers.empty? %> | |
6 <p class="nodata"><%= l(:label_no_data) %></p> | |
7 <% else %> | |
8 | |
9 <%= form_tag({}) do %> | |
10 <table class="list"> | |
11 <thead> | |
12 <tr> | |
13 <th><%= l(:field_login) %></th> | |
14 <th><%= l(:label_user) %></th> | |
15 </tr> | |
16 </thead> | |
17 <tbody> | |
18 <% i = 0 -%> | |
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}][]", | |
25 content_tag( | |
26 'option', | |
27 "-- #{l :actionview_instancetag_blank_option} --", | |
28 :value => '' | |
29 ) + | |
30 options_from_collection_for_select( | |
31 @users, 'id', 'name', user_id.to_i | |
32 ) %> | |
33 </td> | |
34 </tr> | |
35 <% i += 1 -%> | |
36 <% end -%> | |
37 </tbody> | |
38 </table> | |
39 <p><%= submit_tag(l(:button_save)) %></p> | |
40 <% end %> | |
41 | |
42 <% end %> |