summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-10 10:55:25 -0700
committerjessib <jessib@riseup.net>2012-10-10 10:55:25 -0700
commitc27f2a0686db0705553eda88c799d4c486c20bac (patch)
treeedc4e1b36e747fb87ac429d2fd348abfaec11c28 /help/app/views/tickets/show.html.haml
parentb077363d51de511d53c9b20ade1cb26707f3ecdf (diff)
Pushing some tweaks as I try to get server-side validation working.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r--help/app/views/tickets/show.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index a37f5c8..1e1fab3 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -5,6 +5,7 @@ code:
= @ticket.code
= render(:partial => "comment", :collection => @ticket.comments)
-= simple_form_for @ticket do |f|
+= simple_form_for (@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test
= render :partial => 'new_comment'
- = f.button :submit \ No newline at end of file
+ = f.button :submit
+ = link_to t(:cancel), root_url, :class => :btn \ No newline at end of file