<%= render Avo::CommonFieldWrapperComponent.new(field: @field, resource: @resource, index: @index, form: @form, displayed_in_modal: @displayed_in_modal, label: @label) do %>
<%= content %> <% if @model.present? and @model.errors.include? @field.id %>
<%= @model.errors.full_messages_for(@field.id).to_sentence %>
<% end %> <% if help.present? %>
<%== help %>
<% end %>
<% end %>