Sha256: ce3692cf1aaca16565ee1f2be2feec10a433dc9f7ce14d8fddd7ed8768dfcfad
Contents?: true
Size: 826 Bytes
Versions: 16
Compression:
Stored size: 826 Bytes
Contents
<div class="ariadne-space-y-2 w-full"> <label class="<%= style(:label) %>" for="<%= @name %>"><%= @label %></label> <% if required? %> <span aria-hidden="true">*</span> <% end %> <%= content_tag( :input, nil, name: @name, class: html_attrs[:class], **html_attrs.except(:class) ) %> <% 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="<%= @name %>-description" class="<%= style(:caption, theme:, size:, width:) %>"><%= @caption %></p> <% end %> </div>
Version data entries
16 entries across 16 versions & 1 rubygems