Sha256: f04dd5edd6ac5131ed136c7874b972178b4e9340091df67c5c6a725d3a85ef29
Contents?: true
Size: 530 Bytes
Versions: 38
Compression:
Stored size: 530 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 %> </div>
Version data entries
38 entries across 38 versions & 3 rubygems