Show More
Commit Description:
manages users in contests
Commit Description:
manages users in contests
File last commit:
Show/Diff file:
Action:
app/views/user_admin/contest_management.html.haml | 16 lines | 514 B | text/x-haml | HamlLexer |
%h1 Bulk edit users in contests
- form_tag :action => 'manage_contest' do
List users' login below; one per line.
%br/
= text_area_tag 'login_list', nil, :rows => 25, :cols => 80
%br/
You want to
= select(nil,"operation",[['add users to','add'],['remove users from','remove']])
contest
= select("contest","id",Contest.all.collect {|c| [c.title, c.id]})
    
= submit_tag "Perform action", :confirm => 'Are you sure?'
%hr/
= link_to '[go back to index]', :action => 'index'