Added style button download and remove. Removed border on table.

This commit is contained in:
Alessandro Cuoghi
2017-07-21 17:43:48 +02:00
committed by Senén Rodero Rodríguez
parent 143c8889f3
commit 27b3c60e92
3 changed files with 25 additions and 9 deletions

View File

@@ -1,14 +1,14 @@
<tr id="<%= dom_id(document)%>">
<td><%#= icon %></td>
<td><%= document.title %></td>
<td>
<%= link_to "Download", document.attachment.url %>
<td> <%= document.title %></td>
<td class="text-center">
<%= link_to "Download", document.attachment.url, class: 'button hollow' %>
</td>
<td class="text-center">
<% if can? :destroy, Document %>
<%= link_to "Destroy",
document_path(document, from: request.url), method: :delete,
data: { confirm: "¿Está segurto de que desea eliminar el documento?. Esta acción no se puede deshacer." } %>
data: { confirm: "¿Está segurto de que desea eliminar el documento?. Esta acción no se puede deshacer." },
class: 'button hollow alert' %>
<% end %>
</td>
</tr>
</tr>