diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-11 03:37:09 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-11 03:37:09 +0000 |
commit | c2943ffd2938dad9a54cdd79d7d73c0733bf04ec (patch) | |
tree | 3150362c7873a7a86a67c5db59951e835d0abbb3 /app/views | |
parent | d90cdb1b1073c38c498caf79d6cac39e19c16992 (diff) | |
download | redmine-c2943ffd2938dad9a54cdd79d7d73c0733bf04ec.tar.gz redmine-c2943ffd2938dad9a54cdd79d7d73c0733bf04ec.zip |
code layout cleanup app/views/repositories/committers.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8838 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/repositories/committers.html.erb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erb index 008066266..f408d5382 100644 --- a/app/views/repositories/committers.html.erb +++ b/app/views/repositories/committers.html.erb @@ -21,7 +21,15 @@ <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) %> + <%= 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 -%> |