<% case @ticket.status when "open" badge_class = "tk-open" when "closed" badge_class = "tk-close" when "commenced" badge_class = "tk-processing" end %> <% content_for :page_menu do %> <% end %>

Ticket number : #<%= @ticket.uid %> (Reopen)

Cancel
Sorry, we found nothing.
<%= @ticket.subject %>
<%= @ticket.author %> Type : <%= @ticket.category.title %> Time : <%= @ticket.created_at.strftime("%d %B %y %H:%M") %> Number : <%= @ticket.uid %>
<%= @ticket.status.capitalize %>
<% @ticket.ticket_queries.asc(:created_at).each do |query| %>

<%= query.query.html_safe %>

<% responses = query.ticket_query_responses.for_clients.asc(:created_at) %> <% if responses.count > 0 %>

Response

<% responses.each do |response| %>
author
<%= response.author.name %> <%= response.created_at.strftime("%d %B %Y - %H:%M") %>
<%= response.response.html_safe %>
<% end %>
<% end %>
<% end %>
<%= form_for @ticket_query, :url => {:action => "create_ticket_query"} do |f| %> <%= f.cktext_area :query %>
<%= f.hidden_field :ticket_id, :value => @ticket.id %> <%= f.submit "Reopen", :class => "btn btn-primary" %> Cancel
<% end %>