Sha256: fa68614781d98592966adc508bad7d30f0efdc332ccab8873415b9f25702d0c8

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

<%#
# Hidden Form Partial

This partial renders a hidden field.

## Local variables:

- `f`:
  A Rails form generator, used to help create the appropriate input fields.
- `field`:
  An instance of Administrate::Field::Hidden.
  A wrapper around the attribute pulled from the database.
%>

<div class="field-unit__field">
  <%= f.hidden_field field.attribute %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrate-field-hidden-0.1.0 app/views/fields/hidden/_form.html.erb
administrate-field-hidden-0.0.3 app/views/fields/hidden/_form.html.erb
administrate-field-hidden-0.0.2 app/views/fields/hidden/_form.html.erb
administrate-field-hidden-0.0.1 app/views/fields/hidden/_form.html.erb