summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/new.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-01-03 11:19:02 -0800
committerjessib <jessib@riseup.net>2013-01-03 11:19:02 -0800
commit8b6c66af53a1f7e8c4300c17dc226eaef74a89d3 (patch)
tree2bb2a4ddad3348fab9a177c737919c9848699bf1 /help/app/views/tickets/new.html.haml
parent38c87ba6eb30d8345c9c59b4f9b0d84955543ba0 (diff)
parentbf80482c34034a59307193ced0dcfac7db05f055 (diff)
Merge pull request #11 from leapcode/feature/ticket-client-side-validations
Client-side validations, including only validating email address format ...
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 750b990..ee7adb2 100644
--- a/help/app/views/tickets/new.html.haml
+++ b/help/app/views/tickets/new.html.haml
@@ -1,6 +1,6 @@
.span12
%h2=t :new_ticket
- = simple_form_for(@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test
+ = 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?
= render :partial => 'new_comment', :locals => {:f => f}