summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-12-17 12:24:29 -0800
committerjessib <jessib@leap.se>2012-12-17 12:24:29 -0800
commite61cae8d2fc5d5818e56433a45056a539b621bd3 (patch)
tree3eb77cd54b442f5a43b1f9f5c6530e65cceaafb1 /help/app/views/tickets/show.html.haml
parent9f450be8d8d5e35daaad92547aff319e0656d677 (diff)
Some refactoring of ticket creation/editing.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r--help/app/views/tickets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index b9f2ce6..a4f3b5f 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -25,7 +25,7 @@
= #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
- = render :partial => 'new_comment', :locals => {:f => f, :comment_object => TicketComment.new}
+ = render :partial => 'new_comment', :locals => {:f => f}
= f.button :submit, @post_reply_str
- if @ticket.is_open
= f.button :submit, @reply_close_str