diff options
author | jessib <jessib@leap.se> | 2012-12-18 13:46:48 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2012-12-18 13:46:48 -0800 |
commit | 05fd50e769e00e2f63eb4e0eae44ecbc47a6606a (patch) | |
tree | e5f6470680b21525093b71064ff2282be8e67101 /help/app/views/tickets/show.html.haml | |
parent | 66ce152d5124be52f31d51fc4171fd53ba3a915c (diff) |
Minor CSS improvement using bootstrap.
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml index a4f3b5f..46d86de 100644 --- a/help/app/views/tickets/show.html.haml +++ b/help/app/views/tickets/show.html.haml @@ -28,7 +28,7 @@ = render :partial => 'new_comment', :locals => {:f => f} = f.button :submit, @post_reply_str - if @ticket.is_open - = f.button :submit, @reply_close_str + = f.button :submit, @reply_close_str, :class => 'btn-primary' = #link_to t(:destroy), ticket_path, :confirm => 'are you sure?', :method => :delete, :class => :btn if admin? # for link_to to work with delete, need to figure out jquery interaction correctly. see http://stackoverflow.com/questions/3774925/delete-link-sends-get-instead-of-delete-in-rails-3-view etc.. -= button_to 'destroy', ticket_path, :confirm => 'are you sure?', :method => :delete if admin? += button_to 'Destroy', ticket_path, :confirm => 'are you sure?', :class => 'btn btn-danger', :method => :delete if admin? = link_to t(:cancel), tickets_path, :class => :btn |