summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/new.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-01-17 10:41:09 -0800
committerjessib <jessib@riseup.net>2013-01-17 10:41:09 -0800
commit6347fdbe0d932e78dfa8259bf81355edb19508e9 (patch)
tree5ec11b9600d4330ec94f56dda779634cd7dcae1b /help/app/views/tickets/new.html.haml
parentb550cd14f33b9664fe6b547dc56107fae7d12caf (diff)
parent7d7741f7d26c3ae7ee1dc347a6b1a1142a3c2824 (diff)
Merge pull request #10 from leapcode/feature/unauthenticated_tickets
Rough functionality for unauthenticated tickets.
Diffstat (limited to 'help/app/views/tickets/new.html.haml')
-rw-r--r--help/app/views/tickets/new.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/help/app/views/tickets/new.html.haml b/help/app/views/tickets/new.html.haml
index ee7adb2..1aa689b 100644
--- a/help/app/views/tickets/new.html.haml
+++ b/help/app/views/tickets/new.html.haml
@@ -3,9 +3,8 @@
= simple_form_for @ticket, :validate => true, :html => {:class => 'form-horizontal'} do |f|
= f.input :title
= f.input :email if !current_user #hmm--might authenticated users want to submit an alternate email?
+ = f.input :regarding_user
= render :partial => 'new_comment', :locals => {:f => f}
- = # regarding_user if not logged in
- = # email if not logged in
.form-actions
= f.button :submit, :class => 'btn-primary'
= link_to t(:cancel), tickets_path, :class => :btn