Sha256: 9042562733bd356448030cd19f6ea4be945d255596e9c0895160f9d46d08fa61
Contents?: true
Size: 730 Bytes
Versions: 6
Compression:
Stored size: 730 Bytes
Contents
<%= f.label field.attribute, class: 'relative inline-flex items-center cursor-pointer' do %> <%= f.check_box field.attribute, class: 'sr-only peer' %> <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:absolute after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div> <span class="ms-3 text-sm font-medium text-gray-900 dark:text-gray-300"> <%= field.attribute %> </span> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems