Show More
Commit Description:
assigns users to a unique contest, small styling on contest title
Commit Description:
assigns users to a unique contest, small styling on contest title
References:
File last commit:
Show/Diff file:
Action:
app/views/user_admin/contest_management.html.haml
| 16 lines
| 543 B
| text/x-haml
| HamlLexer
|
|
r280 | %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 | ||||
|
r281 | = select(nil,"operation",[['assign users to','assign'],['add users to','add'],['remove users from','remove']]) | ||
|
r280 | 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' | ||||