Sha256: abd4c2e6095eebbad142eb37101d4642d239e1bb715769f35533b8c3645ab6f1
Contents?: true
Size: 603 Bytes
Versions: 71
Compression:
Stored size: 603 Bytes
Contents
<%= field_wrapper **field_wrapper_args do %> <% if @field.value.present? %> <div class="mb-2"> <%= render Avo::Fields::Common::Files::ViewType::GridComponent.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
71 entries across 71 versions & 1 rubygems