Show More
Commit Description:
removed caching on Configuration...
Commit Description:
removed caching on Configuration git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@285 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/problems/show.rhtml | 24 lines | 518 B | text/html+ruby | RhtmlLexer |
pramook
initial commit...
r0 <% for column in Problem.content_columns %>
<p>
jittat
[web] added body to problems, added task view page...
r88 <b><%= column.human_name %>:</b>
jittat
[web] refactor problem description, some styling...
r92 <%=h @problem.send(column.name) %>
pramook
initial commit...
r0 </p>
<% end %>
jittat
[web] refactor problem description, some styling...
r92 <p>
<b>Description:</b><br/>
jittat
markdowned task body...
r145 <% if @problem.description!=nil %>
<% if @problem.description.markdowned %>
<%= markdown(@problem.description.body) %>
<% else %>
jittat
[web] refactor problem description, some styling...
r92 <pre>
<%= @problem.description.body %>
</pre>
jittat
markdowned task body...
r145 <% end %>
<% else %>
(not available)
<% end %>
jittat
[web] refactor problem description, some styling...
r92 </p>
pramook
initial commit...
r0 <%= link_to 'Edit', :action => 'edit', :id => @problem %> |
<%= link_to 'Back', :action => 'list' %>