Sha256: 7a5c80fb6f8428983018c0d162cf0c439b13b43da3603f7eebfe5f43b65b4b41
Contents?: true
Size: 1.03 KB
Versions: 8
Compression:
Stored size: 1.03 KB
Contents
<div class="relative flex items-start"> <div class="ariadne-flex ariadne-h-6 ariadne-items-center"> <input id="id-<%= value %>" aria-describedby="description-<%= value %> " name="<%= @name %>" type="checkbox" class="<%= html_attrs[:class] %>" <%= html_attributes %>> </div> <div class="ariadne-ml-3 ariadne-text-sm ariadne-leading-6"> <label class="<%= style(:label) %>" for="id-<%= value %>"><%= @label || content %></label> <% if required? %> <span aria-hidden="true">*</span> <% end %> <% if @validation_message %> <%= render(Primer::BaseComponent.new(tag: :div, **@validation_arguments)) do %> <span class=" FormControl-inlineValidation--visual "><%= render(Primer::Beta::Octicon.new(icon: :"alert-fill", size: :xsmall, aria: { hidden: true })) %></span> <span><%= @validation_message %></span> <% end %> <% end %> <% if caption? %> <p id="description-<%= value %>" class="<%= style(:caption, theme:, size:, width:) %>"><%= @caption %></p> <% end %> </div> </div>
Version data entries
8 entries across 8 versions & 1 rubygems