Show More
Commit Description:
refactor to partials...
Commit Description:
refactor to partials
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@62 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.erb
| 11 lines
| 511 B
| text/plain
| TextLexer
|
|
r33 | <div class="problist-each"> | ||
<div class="probname"> | ||||
<%= "#{problem_counter + 1}: #{problem.full_name} (#{problem.name})" %> | ||||
<%= link_to '[task description]', problem.url, :popup => true if (problem.url!=nil) and (problem.url!='') %> | ||||
</div> | ||||
<div class="subinfo"> | ||||
<%= render :partial => 'submission', | ||||
:locals => { :submission => @prob_submissions[problem_counter][:submission], | ||||
:count => @prob_submissions[problem_counter][:count] } %> | ||||
</div> | ||||
</div> | ||||