Sha256: 18319473fec25747640f988a709f65a878c352a2511a1816b778851d19efbdb3
Contents?: true
Size: 646 Bytes
Versions: 14
Compression:
Stored size: 646 Bytes
Contents
<%= render Avo::CommonFieldWrapperComponent.new(field: @field, resource: @resource, index: @index, form: @form, displayed_in_modal: @displayed_in_modal, label: @label) do %> <div class="self-center <% if @displayed_in_modal or @full_width %> w-full <% else %> w-full md:w-8/12 <% end %>" data-slot="value"> <%= content %> <% if @model.present? and @model.errors.include? @field.id %> <div class="text-red-600 mt-2 text-sm"><%= @model.errors.full_messages_for(@field.id).to_sentence %></div> <% end %> <% if help.present? %> <div class="text-gray-600 mt-2 text-sm"><%== help %></div> <% end %> </div> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems