Commit 22dc9cc5

mo k <mo@mokhan.ca>
2012-03-22 02:45:36
use btn class.
1 parent 113a961
Changed files (1)
app
views
creations
app/views/creations/show.html.erb
@@ -8,7 +8,7 @@
     <small>
       <% if current_user.owns(@creation) %>
         <%= link_to '(edit)', edit_creation_path(@creation) %> 
-        <%= link_to '(delete)', creation_path(@creation),:confirm => "Are you sure", :method => :delete %> 
+        <%= link_to 'Delete', creation_path(@creation),:confirm => "Are you sure", :method => :delete, :class => 'btn btn-danger' %> 
       <% end %>
       submitted by <%= link_to @creation.user.name, profile_path(@creation.user) %> 
   </small>