From 30f04a24fe0dcbdc779584ec92c1a06801195f86 Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 8 Nov 2012 15:30:04 -0800 Subject: First attempt at functionality for admins viewing their own tickets. --- help/app/views/tickets/show.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'help/app/views/tickets/show.html.haml') diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml index acd3a61..77d168a 100644 --- a/help/app/views/tickets/show.html.haml +++ b/help/app/views/tickets/show.html.haml @@ -21,6 +21,7 @@ = 'closed' = button_to 'open', {:change_status => :open}, :method => :put = render(:partial => "comment", :collection => @ticket.comments) += #render @ticket.comments should work if view is in /app/views/comments/_comment = simple_form_for(@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test = f.simple_fields_for :comments, TicketComment.new do |c| -- cgit v1.2.3