Sha256: ad859d9feed79cd8e4ef29ce0e2fbb472c9bb3eca4c9cd810bd84876e5472340
Contents?: true
Size: 754 Bytes
Versions: 28
Compression:
Stored size: 754 Bytes
Contents
<%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal, full_width: true do %> <%= render Avo::Fields::Common::FilesListViewerComponent.new(field: @field, resource: @resource) if @field.value.present? %> <% if @resource.authorization.authorize_action(:upload_attachments?, raise_exception: false) %> <div class="mt-2"> <%= @form.file_field @field.id, accept: @field.accept, data: @field.get_html(:data, view: view, element: :input), direct_upload: @field.direct_upload, disabled: @field.is_readonly?, multiple: true, style: @field.get_html(:style, view: view, element: :input) %> </div> <% end %> <% end %>
Version data entries
28 entries across 28 versions & 1 rubygems