summaryrefslogtreecommitdiff
path: root/help/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-08 21:01:12 +0100
committerAzul <azul@leap.se>2012-11-08 21:01:12 +0100
commit2f44497b6206ad7b31e7444f52609cb3e56b8ab5 (patch)
tree6649bd030db64cd7879ba856ce2423343005f84e /help/app
parentce65965c536ed873d30246db074b5236d3185f47 (diff)
added generic flash block
Diffstat (limited to 'help/app')
-rw-r--r--help/app/views/tickets/show.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index aa803e0..acd3a61 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -1,9 +1,5 @@
%h1 tickets show (just as space)
%h1 tickets show (just as space)
-- if flash[:notice]
- =flash[:notice]
-- if flash[:alert]
- =flash[:alert]
%h2= @ticket.title
- if @ticket.email
email:
@@ -26,7 +22,7 @@
= button_to 'open', {:change_status => :open}, :method => :put
= render(:partial => "comment", :collection => @ticket.comments)
-= simple_form_for (@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test
+= simple_form_for(@ticket, :html => {:novalidate => true}) do |f| #turn off html5 validations to test
= f.simple_fields_for :comments, TicketComment.new do |c|
= c.input :body, :label => 'Comment', :as => :text
= #render :partial => 'new_comment'