Sha256: c1b6c450cbd785d1bd18838790c7b71d64e7e2a7dcf61541a16c3dd83c98a4ba

Contents?: true

Size: 499 Bytes

Versions: 6

Compression:

Stored size: 499 Bytes

Contents

<%#
# Refile Form Partial

This partial renders an attachment_field element for uloading files.

## Local variables:

- `f`:
  A Rails form generator, used to help create the appropriate input fields.
- `field`:
  An instance of [Administrate::Field::Refile][1].

%>

<div class="field-unit__label">
  <%= f.label field.attribute %>
</div>
<div class="field-unit__field">
  <%= f.attachment_field field.attribute, direct: field.direct, presigned: field.presigned, multiple: field.multiple %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
administrate-field-refile-0.0.7 app/views/fields/refile/_form.html.erb
administrate-field-refile-0.0.6 app/views/fields/refile/_form.html.erb
administrate-field-refile-0.0.4 app/views/fields/refile/_form.html.erb
administrate-field-refile-0.0.3 app/views/fields/refile/_form.html.erb
administrate-field-refile-0.0.2 app/views/fields/refile/_form.html.erb
administrate-field-refile-0.0.1 app/views/fields/refile/_form.html.erb