diff options
author | Azul <azul@leap.se> | 2012-11-08 21:01:12 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-08 21:01:12 +0100 |
commit | 2f44497b6206ad7b31e7444f52609cb3e56b8ab5 (patch) | |
tree | 6649bd030db64cd7879ba856ce2423343005f84e /help/app/views | |
parent | ce65965c536ed873d30246db074b5236d3185f47 (diff) |
added generic flash block
Diffstat (limited to 'help/app/views')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 6 |
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' |