summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_new_comment_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'help/app/views/tickets/_new_comment_form.html.haml')
-rw-r--r--help/app/views/tickets/_new_comment_form.html.haml13
1 files changed, 0 insertions, 13 deletions
diff --git a/help/app/views/tickets/_new_comment_form.html.haml b/help/app/views/tickets/_new_comment_form.html.haml
deleted file mode 100644
index 8418e01..0000000
--- a/help/app/views/tickets/_new_comment_form.html.haml
+++ /dev/null
@@ -1,13 +0,0 @@
--#
--# for posting a new comment to an existing ticket.
--#
-= 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|
- = 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 :button, t(:post_reply), :name => 'commit', :class => 'btn-primary', :type => 'submit', :value => 'post_reply'
- - if logged_in? && @ticket.is_open
- = 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