Added style button download and remove. Removed border on table.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
143c8889f3
commit
27b3c60e92
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user