From 2f44497b6206ad7b31e7444f52609cb3e56b8ab5 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 8 Nov 2012 21:01:12 +0100 Subject: added generic flash block --- help/app/views/tickets/show.html.haml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'help/app') 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' -- cgit v1.2.3