Sha256: cecc013375865486dc927a3848d237105de2b6a6cf78109a39437dc582225ff5
Contents?: true
Size: 1.04 KB
Versions: 17
Compression:
Stored size: 1.04 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 ariadne-w-full"> <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
17 entries across 17 versions & 1 rubygems