diff --git a/app/views/problems/show.rhtml b/app/views/problems/show.rhtml --- a/app/views/problems/show.rhtml +++ b/app/views/problems/show.rhtml @@ -1,15 +1,18 @@ <% for column in Problem.content_columns %>
<%= column.human_name %>: - <% if column.name != 'body' %> - <%=h @problem.send(column.name) %> - <% else %> -
- <%= @problem.body %> -- <% end %> + <%=h @problem.send(column.name) %> <% end %> +
+Description:
+<% if @problem.description!=nil %>
+
+<%= @problem.description.body %> ++<% end %> + + <%= link_to 'Edit', :action => 'edit', :id => @problem %> | <%= link_to 'Back', :action => 'list' %>