diff options
author | jessib <jessib@riseup.net> | 2012-11-08 15:30:04 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-11-08 15:30:04 -0800 |
commit | 30f04a24fe0dcbdc779584ec92c1a06801195f86 (patch) | |
tree | 590b4bee0124fe72a87b8ea78fbae4da42ad82b3 /help/app/views/tickets/show.html.haml | |
parent | 2f44497b6206ad7b31e7444f52609cb3e56b8ab5 (diff) |
First attempt at functionality for admins viewing their own tickets.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
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| |