Sha256: 4348a62fbc18fed685a70b49af0573a7676ead852a92ef2c866fff2da32eaad9
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
<%# # Text Form Partial This partial renders a textarea element for a text attribute. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Text][1]. A wrapper around the Text pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Text %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.text_area field.attribute, field.options.fetch(:input_options, {}) %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
administrate-1.0.0.beta3 | app/views/fields/text/_form.html.erb |
administrate-1.0.0.beta2 | app/views/fields/text/_form.html.erb |