Sha256: 5d453e05f8e75e606b3fba124529d80c6e0990a14408082961c22b71a37e7f4d
Contents?: true
Size: 789 Bytes
Versions: 46
Compression:
Stored size: 789 Bytes
Contents
<%= content_tag(:div, **@input.validation_arguments) do %> <span class="FormControl-inlineValidation--visual" data-target="<%= @input.validation_success_icon_target %>" hidden><%= render(Ariadne::UI::Heroicon::Component.new(icon: :"check-circle", variant: HeroiconsHelper::Icon::VARIANT_SOLID, size: :xs, html_attrs: { aria: { hidden: true }})) %></span> <span class=" FormControl-inlineValidation--visual" data-target="<%= @input.validation_error_icon_target %>"><%= render(Ariadne::UI::Heroicon::Component.new(icon: :"exclamation-triangle", variant: HeroiconsHelper::Icon::VARIANT_SOLID, size: :xs, html_attrs: { aria: { hidden: true }})) %></span> <%= content_tag(:span, @input.invalid? ? @input.validation_messages.first : "", **@input.validation_message_arguments) %> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems