Sha256: e01dc9b55904f3b6c68125f1f4c575e72c909e6af122cb85ea00a1c1a9944a62
Contents?: true
Size: 607 Bytes
Versions: 60
Compression:
Stored size: 607 Bytes
Contents
<%= field_wrapper **field_wrapper_args do %> <% if @field.value.present? %> <div class="mb-2"> <%= render Avo::Fields::Common::Files::ViewType::GridItemComponent.new resource: @resource, field: @field %> </div> <% end %> <% if can_upload_file? %> <%= @form.file_field @field.id, accept: @field.accept, data: @field.get_html(:data, view: view, element: :input), direct_upload: @field.direct_upload, disabled: disabled?, style: @field.get_html(:style, view: view, element: :input), class: "w-full" %> <% else %> — <% end %> <% end %>
Version data entries
60 entries across 60 versions & 1 rubygems