Show More
Commit Description:
[web] more styling for tasks with markdown...
Commit Description:
[web] more styling for tasks with markdown git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@178 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/problems/show.rhtml | 15 lines | 344 B | text/html+ruby | RhtmlLexer |
<% for column in Problem.content_columns %>
<p>
<b><%= column.human_name %>:</b>
<% if column.name != 'body' %>
<%=h @problem.send(column.name) %>
<% else %>
<pre>
<%= @problem.body %>
</pre>
<% end %>
</p>
<% end %>
<%= link_to 'Edit', :action => 'edit', :id => @problem %> |
<%= link_to 'Back', :action => 'list' %>