Sha256: 79886cd38227288aee6ffc7a648f10dd0ee57d503f32a424aaccbfc749ac6bfa
Contents?: true
Size: 719 Bytes
Versions: 12
Compression:
Stored size: 719 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, data: @field.get_html(:data, view: view, element: :input), direct_upload: @field.direct_upload, disabled: @field.readonly, multiple: true, style: @field.get_html(:style, view: view, element: :input) %> </div> <% end %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems