fix invalid classes and html attributes

This commit is contained in:
Alex Turchyn
2026-07-23 21:20:22 +03:00
committed by Pete Matsyburka
parent e77998e53c
commit 3edd1ab32d
12 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<% options.each_with_index do |(label, value), index| %>
<span>
<%= radio_button_tag 'option', value, value == 'draw', class: 'peer hidden', data: { action: 'change:toggle-visible#trigger' } %>
<label for="option_<%= value %>" class="<%= '!rounded-s-full' if index.zero? %> btn btn-focus btn-sm join-item md:w-28 peer-checked:btn-active normal-case">
<label for="option_<%= value %>" class="<%= '!rounded-s-full' if index.zero? %> btn btn-sm join-item md:w-28 peer-checked:btn-active normal-case">
<%= label %>
</label>
</span>