summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2014-05-14 08:41:29 +0200
committerazul <azul@riseup.net>2014-05-14 08:41:29 +0200
commit09798683794a5b74cd9cb8801f15d21e093e68b9 (patch)
treed3596ac561bea32114f003ce4b1612d0d1ff2da1 /engines/support/app/views/tickets
parentc85028fba2a25f22b375b8714c2e1999c35f8e82 (diff)
parent41055098941481611d4b9fa80c769092ed9bd79d (diff)
Merge pull request #159 from azul/bugfix/5659-fix-ticket-form-submit
open/close toggle and fields in different forms - fixes #5659
Diffstat (limited to 'engines/support/app/views/tickets')
-rw-r--r--engines/support/app/views/tickets/_edit_form.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/support/app/views/tickets/_edit_form.html.haml b/engines/support/app/views/tickets/_edit_form.html.haml
index fb279fb..b8da779 100644
--- a/engines/support/app/views/tickets/_edit_form.html.haml
+++ b/engines/support/app/views/tickets/_edit_form.html.haml
@@ -29,6 +29,8 @@
%b{style: 'padding:10px'}= t(:closed)
= f.button :loading, t(:open), value: 'open', class: 'btn-mini'
%span.label.label-clear= t(:created_by_on, :user => created_by, :time => @ticket.created_at.to_s(:short)).html_safe
+= simple_form_for @ticket do |f|
+ = hidden_ticket_fields
%div= t(:subject)
= f.text_field :subject, :class => 'large full-width'
.row-fluid