Issue: <%= h @issue %> (created <%= @issue.created_at.strftime("%Y-%m-%d %H:%M:%S") %>)

<%= link_to "Back to the list of issues", issues_path %>

<%= cascade @issue, [:author, :assigned, :category, "status_s"] %>

<% if @issue.can_update? cuser%> <%= link_to 'Edit', edit_issue_path(@issue) %> | <% end %> <%= link_to 'Back', issues_path %>

Issue details:

<%= raw @issue.text_parsed %> <% if @issue.solution and !@issue.solution.empty? %>

Solution:

<%= raw @issue.solution_formatted %> <% end %>
<%= add_comments @issue %>