summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_new_comment_form.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-05 18:16:24 -0700
committerelijah <elijah@riseup.net>2013-07-05 18:16:24 -0700
commitdc98ad8c6445182d60b3f1909e0260ace6fbfca5 (patch)
tree00527737a38bdafcd2e175bb6caf5e30b3360de1 /help/app/views/tickets/_new_comment_form.html.haml
parentb2124020f123bf7a44b21555e6aefb5699bdcc21 (diff)
tickets - replace input[type=submit] tags with button[type=submit] tags
Diffstat (limited to 'help/app/views/tickets/_new_comment_form.html.haml')
-rw-r--r--help/app/views/tickets/_new_comment_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/help/app/views/tickets/_new_comment_form.html.haml b/help/app/views/tickets/_new_comment_form.html.haml
index ff136f3..8418e01 100644
--- a/help/app/views/tickets/_new_comment_form.html.haml
+++ b/help/app/views/tickets/_new_comment_form.html.haml
@@ -7,7 +7,7 @@
= c.input :body, :label => false, :as => :text, :input_html => {:class => "full-width", :rows=> 5}
- if admin?
= c.input :private, :as => :boolean, :label => false, :inline_label => true
- = f.button :submit, t(:post_reply), :class => 'btn-primary'
+ = f.button :button, t(:post_reply), :name => 'commit', :class => 'btn-primary', :type => 'submit', :value => 'post_reply'
- if logged_in? && @ticket.is_open
- = f.button :submit, t(:reply_and_close)
+ = f.button :button, t(:reply_and_close), :name => 'commit', :class => 'btn', :type => 'submit', :value => 'reply_and_close'
= link_to t(:cancel), auto_tickets_path, :class => :btn