Sha256: d1d8bd7f85e3b6c59b303623ebbc0159e81b41fc388a54ce1f3065972f83af96
Contents?: true
Size: 651 Bytes
Versions: 17
Compression:
Stored size: 651 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 @field.help %> <div class="text-gray-600 mt-2 text-sm"><%== @field.help %></div> <% end %> </div> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems