Sha256: c7a27c0a090121fe4717b553f9713aea81b95cc83fc58361faf7a432210bd07f
Contents?: true
Size: 713 Bytes
Versions: 2
Compression:
Stored size: 713 Bytes
Contents
<%= form.label field, options[:label] do %> <% if options[:description].present? %> <%= options[:label] %> <button type="button" style="background: none; border: none; outline: 0; position: absolute; margin-top: 0.3rem" data-bs-toggle="popover" title="<%= options.fetch(:label) %>" data-bs-content="<%= options[:description] %>"> <i class="text-secondary fa-solid fa-circle-info"></i> </button> <% end %> <% end %> <% if type == :check_boxes && options[:option_groups].present? %> <%= render partial: 'active_element/components/form/option_groups_summary', locals: { option_groups: options[:option_groups] } %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_element-0.0.3 | app/views/active_element/components/form/_label.html.erb |
active_element-0.0.2 | app/views/active_element/components/form/_label.html.erb |