Sha256: 53d80fdfe1612594dbdff349858b203c408fb7d6113baeaae9ae58f07f381a79
Contents?: true
Size: 735 Bytes
Versions: 5
Compression:
Stored size: 735 Bytes
Contents
<label class="flex flex-wrap items-center gap-2 w-full border border-gray-100 rounded px-4 py-2"> <div class="flex gap-1 items-center grow py-2"> <span class="text-gray-700 font-semibold text-base"><%= @label %></span> <%= render component("ui/toggletip").new(text: @tip) if @tip.present? %> </div> <%= render component("ui/forms/switch").new(**@attributes) %> <% if @hint.present? || @error.present? %> <div class=" w-full font-normal text-sm [:disabled~&]:text-gray-300 text-gray-500 flex gap-1 flex-col pt-2 pb-4 " > <%= tag.span @hint if @hint.present? %> <%= tag.span safe_join(@error, tag.br), class: "text-red-400" if @error.present? %> </div> <% end %> </label>
Version data entries
5 entries across 5 versions & 1 rubygems