summaryrefslogtreecommitdiff
path: root/engines/support/app/views
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-03-24 12:08:50 +0100
committerAzul <azul@riseup.net>2017-03-27 10:39:26 +0200
commitb1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6 (patch)
tree7623101cb8f65cd9477d7bc61dabcd18fa02ef1e /engines/support/app/views
parentfdb86b7db4275e49157de6aa1463ef730b25b76e (diff)
upgrade: simple_form to bootstrap 3
* reran the simple form initializer. * wrapped submit buttons are now broken and need a fix. * disabled confirmation validation in client side validations as the error message always is attached to the wrong field.
Diffstat (limited to 'engines/support/app/views')
-rw-r--r--engines/support/app/views/tickets/_new_comment_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/support/app/views/tickets/_new_comment_form.html.haml b/engines/support/app/views/tickets/_new_comment_form.html.haml
index f285b8b..05a0d4c 100644
--- a/engines/support/app/views/tickets/_new_comment_form.html.haml
+++ b/engines/support/app/views/tickets/_new_comment_form.html.haml
@@ -3,7 +3,7 @@
-#
= simple_form_for @ticket, :html => {:class => 'slim'} do |f|
= hidden_ticket_fields
- = f.simple_fields_for :comments, @comment, :wrapper => :none, :html => {:class => 'slim'} do |c|
+ = f.simple_fields_for :comments, @comment, :wrapper => false, :html => {:class => 'slim'} do |c|
= c.input :body, :label => false, :as => :text,
:input_html => {:class => "full-width", :rows=> 5}
- if admin?