Sha256: 1521c5c1fd838ab43d10270dbdd742ba528ccd056668f4ef6e712994e948e260
Contents?: true
Size: 605 Bytes
Versions: 5
Compression:
Stored size: 605 Bytes
Contents
<%# # Carrierwave Form Partial This partial renders a file input field and a summary of the current attachment(s) for this attribute ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of Administrate::Field::Carrierwave. A wrapper around the attribute pulled from the database. %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.file_field field.attribute, multiple: field.multiple? %> <br /> <%= render 'fields/carrierwave/show', field: field %> </div>
Version data entries
5 entries across 5 versions & 1 rubygems