Issue: <%= h @issue %>

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

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

Issue details:

<%= @issue.text_parsed.html_safe %>

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

Solution:

<%= @issue.solution_formatted.html_safe %>

<% end %>

<% if @issue.can_update? cuser%> <%= link_to 'Edit Issue', edit_issue_path(@issue), class: 'button' %> <% end %>

<%= add_comments @issue %>