diff options
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml index a9b994e..132d50f 100644 --- a/help/app/views/tickets/show.html.haml +++ b/help/app/views/tickets/show.html.haml @@ -1,13 +1,10 @@ +%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 -is open? -= @ticket.is_open -- if @ticket.code - code: - = @ticket.code - if @ticket.email email: = @ticket.email @@ -22,5 +19,10 @@ is open? = f.simple_fields_for :comments, TicketComment.new do |c| = c.input :body, :label => 'Comment', :as => :text = #render :partial => 'new_comment' - = f.button :submit - = link_to t(:cancel), tickets_path, :class => :btn
\ No newline at end of file + = f.label :is_open + = f.select :is_open, [true, false] + = f.button :submit, @post_reply_str + = f.button :submit, @reply_close_str + = # TODO want to have button to close + = # TODO if admin, have button to delete + = link_to t(:cancel), tickets_path, :class => :btn |