summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_new_comment.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-07 12:25:12 -0800
committerjessib <jessib@leap.se>2013-01-07 12:25:12 -0800
commitce8b283255e2be4c0f42b3223c3cf4ad33364933 (patch)
tree48933c4242f08b7de98ea4f301162c5dd3e57859 /help/app/views/tickets/_new_comment.html.haml
parent6b0fba93fc6137e83fb66cc38098f5479d1ce485 (diff)
Ticket comments can be private
Diffstat (limited to 'help/app/views/tickets/_new_comment.html.haml')
-rw-r--r--help/app/views/tickets/_new_comment.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/help/app/views/tickets/_new_comment.html.haml b/help/app/views/tickets/_new_comment.html.haml
index 7307dad..8d40bb6 100644
--- a/help/app/views/tickets/_new_comment.html.haml
+++ b/help/app/views/tickets/_new_comment.html.haml
@@ -1,2 +1,4 @@
= f.simple_fields_for :comments, @comment do |c|
= c.input :body, :label => 'Comment', :as => :text, :input_html => {:class => "span12", :rows=>4}
+ - if admin?
+ = c.input :private, :as => :boolean, :label => false, :inline_label => true