summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/new.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/new.html.haml
parent9f450be8d8d5e35daaad92547aff319e0656d677 (diff)
Some refactoring of ticket creation/editing.
Diffstat (limited to 'help/app/views/tickets/new.html.haml')
-rw-r--r--help/app/views/tickets/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/views/tickets/new.html.haml b/help/app/views/tickets/new.html.haml
index 0ee47ff..ca036a5 100644
--- a/help/app/views/tickets/new.html.haml
+++ b/help/app/views/tickets/new.html.haml
@@ -2,7 +2,7 @@
= simple_form_for(@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test
= f.input :title
= f.input :email if !current_user #hmm--might authenticated users want to submit an alternate email?
- = render :partial => 'new_comment', :locals => {:f => f, :comment_object => nil}
+ = render :partial => 'new_comment', :locals => {:f => f}
= # regarding_user if not logged in
= # email if not logged in
= f.button :submit