Sha256: cfbb5618d1004e2381724a2a9e8c10d532167528c5fb96574fd089c58aae852b
Contents?: true
Size: 827 Bytes
Versions: 5
Compression:
Stored size: 827 Bytes
Contents
<label class="flex flex-col gap-2 w-full"> <div class="flex gap-1 items-center"> <span class=" text-gray-700 font-semibold text-xs "><%= @label %></span> <%= render component('ui/toggletip').new(text: @tip) if @tip.present? %> </div> <% if @input_attributes.present? %> <%= render component('ui/forms/input').new(**@input_attributes) %> <% elsif content.respond_to?(:render_in) %> <%= render content %> <% else %> <%= content %> <% end %> <% if @hint.present? || @error.present? %> <div class=" font-normal text-xs [:disabled~&]:text-gray-300 text-gray-500 flex gap-1 flex-col "> <%= tag.span @hint if @hint.present? %> <%= tag.span safe_join(@error, tag.br), class: "text-red-600" if @error.present? %> </div> <% end %> </label>
Version data entries
5 entries across 5 versions & 1 rubygems