Sha256: 52d93bebca7ad088393f3e8cb6e2cbf848dffbe985fcbdeea37b2d8f049cdb83
Contents?: true
Size: 920 Bytes
Versions: 77
Compression:
Stored size: 920 Bytes
Contents
<%= render(FormControl.new(input: @input, tag: :"primer-text-field")) do %> <%= content_tag(:div, **@field_wrap_arguments) do %> <% if @input.leading_visual %> <span class="FormControl-input-leadingVisualWrap"> <%= render(Primer::Beta::Octicon.new(**@input.leading_visual)) %> </span> <% end %> <%= render Primer::ConditionalWrapper.new(condition: @input.auto_check_src, tag: "auto-check", csrf: auto_check_authenticity_token, src: @input.auto_check_src) do %> <%= builder.text_field(@input.name, **@input.input_arguments) %> <% end %> <% if @input.show_clear_button? %> <button type="button" id="<%= @input.clear_button_id %>" class="FormControl-input-trailingAction" aria-label="Clear" data-action="click:primer-text-field#clearContents"> <%= render(Primer::Beta::Octicon.new(icon: :"x-circle-fill")) %> </button> <% end %> <% end %> <% end %>
Version data entries
77 entries across 77 versions & 2 rubygems