fix erblint

This commit is contained in:
Alex Turchyn
2023-06-28 01:27:23 +03:00
parent 9c9c1ad6f0
commit ed157dc952
33 changed files with 55 additions and 55 deletions
+2 -2
View File
@@ -39,7 +39,7 @@
<% end %>
</div>
<div class="overflow-x-auto">
<%- if @submissions.any? %>
<% if @submissions.any? %>
<table class="table w-full table-lg rounded-t-2xl overflow-hidden">
<thead class="bg-base-200">
<tr class="text-neutral uppercase">
@@ -87,7 +87,7 @@
<br>
<% end %>
</td>
<td class="flex items-center space-x-2 justify-end">
<td class="flex items-center space-x-2 justify-end">
<%= link_to 'View', submission_path(submission), title: 'View', class: 'btn btn-outline btn-xs' %>
<%= button_to 'Remove', submission_path(submission), class: 'btn btn-outline btn-error btn-xs', title: 'Delete', method: :delete, data: { turbo_confirm: 'Are you sure?' } %>
</td>