Sha256: 8cb5ce11e40a2e3d0dcbe267fccbe3af2d335a42a68646ce18e7c0d69131e749
Contents?: true
Size: 678 Bytes
Versions: 11
Compression:
Stored size: 678 Bytes
Contents
<%# # Polymorphic Form Partial This partial renders an input element for polymorphic relationships. At the moment, polymorphic form fields are not supported, so this partial renders a message to that effect. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Polymorphic][1]. A wrapper around the polymorphic belongs_to relationship pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Polymorphic %> <div class="field-unit__label"> <%= f.label field.name %> </div> <%= t("administrate.fields.polymorphic.not_supported") %>
Version data entries
11 entries across 11 versions & 1 rubygems