Show More
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?
- add max score query
References:
File last commit:
Show/Diff file:
Action:
app/views/user_admin/show.html.erb
| 10 lines
| 253 B
| text/plain
| TextLexer
|
|
r320 | <h1>User information</h1> | ||
<% for column in User.content_columns %> | ||||
<p> | ||||
<b><%= column.human_name %>:</b> <%=h @user.send(column.name) %> | ||||
</p> | ||||
<% end %> | ||||
<%= link_to 'Edit', :action => 'edit', :id => @user %> | | ||||
<%= link_to 'Back', :action => 'list' %> | ||||