Sha256: 3c183ad1b0d39c8d8c7a1cb9002c642f0238c384bda5028eda1439bba5cd8c96
Contents?: true
Size: 965 Bytes
Versions: 130
Compression:
Stored size: 965 Bytes
Contents
<%= render(Primer::BaseComponent.new(tag: :div, **@system_arguments)) do %> <%= render(Primer::BaseComponent.new(tag: :label, **@label_arguments)) do %> <%= @label %> <% if required? %> <span aria-hidden="true">*</span> <% end %> <% end %> <% if @input_block %> <%= view_context.capture { @input_block.call(@input_arguments) } %> <% 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 @init_caption || caption? %> <span class="FormControl-caption" id="<%= @caption_id %>"> <% if caption? %> <%= caption %> <% else %> <%= @init_caption %> <% end %> </span> <% end %> <% end %>
Version data entries
130 entries across 130 versions & 2 rubygems