summaryrefslogtreecommitdiff
path: root/app/views/assets
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-07 21:44:27 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-07 21:44:27 +0200
commit7382e3d15afcef7866667c8b238f4935ae9faff7 (patch)
tree0f7394af6d840f31ea5e0ae4e10f9f38f8adc4f7 /app/views/assets
parent42f81016be8c55322e0dbb2c20b08812d5d2228b (diff)
Add class destructive to destructive buttons
Diffstat (limited to 'app/views/assets')
-rw-r--r--app/views/assets/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/assets/index.html.erb b/app/views/assets/index.html.erb
index 51fc486..e26830b 100644
--- a/app/views/assets/index.html.erb
+++ b/app/views/assets/index.html.erb
@@ -15,7 +15,7 @@
15 <td><%= asset.upload.content_type %></td> 15 <td><%= asset.upload.content_type %></td>
16 <td><%= link_to 'Show', asset %></td> 16 <td><%= link_to 'Show', asset %></td>
17 <td><%= link_to 'Edit', edit_asset_path(asset) %></td> 17 <td><%= link_to 'Edit', edit_asset_path(asset) %></td>
18 <td><%= button_to 'Destroy', asset, method: :delete, form: { data: { confirm: 'Are you sure?' } } %></td> 18 <td><%= button_to 'Destroy', asset, method: :delete, form: { data: { confirm: 'Are you sure?' }, class: 'button_to destructive' } %></td>
19 </tr> 19 </tr>
20<% end %> 20<% end %>
21</table> 21</table>