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

Version Path
ariadne_view_components-0.0.92 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.91 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.90 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.89.1 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.89 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.88 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.87 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.9 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.8 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.7 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.6 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.5 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.4 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.3 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.2 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86.1 app/components/ariadne/form/checkbox/component.html.erb
ariadne_view_components-0.0.86 app/components/ariadne/form/checkbox/component.html.erb