add multiple submitters input form

This commit is contained in:
Alex Turchyn
2023-06-17 20:22:21 +00:00
parent 96508cd1ee
commit 662d052904
10 changed files with 128 additions and 62 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
<span class="enabled">
<span class="flex justify-center space-x-2">
<span class="flex items-center justify-center space-x-2">
<%= icon if icon %>
<span><%= title %></span>
</span>
</span>
<span class="disabled">
<span class="flex justify-center space-x-2">
<span class="flex items-center justify-center space-x-2">
<%= svg_icon('loader', class: 'w-6 h-6 animate-spin') %>
<span><%= disabled_with %>...</span>
</span>
+1 -1
View File
@@ -7,7 +7,7 @@
<span>
<%= local_assigns[:title] %>
</span>
<a href="#" class="text-xl" data-action="click:turbo-modal#close">&times;</a>
<a href="#" class="w-8 h-8 flex items-center justify-center text-xl rounded-lg text-center hover:bg-base-300" data-action="click:turbo-modal#close">&times;</a>
</div>
<% end %>
<div>