Class: AnchormodelInput
- Inherits:
-
SimpleForm::Inputs::CollectionSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- AnchormodelInput
- Defined in:
- lib/anchormodel/simple_form_inputs/anchormodel_input.rb
Overview
SimpleForm input for an anchormodel attribute. Renders a <select> collection
whose options are the entries of the bound anchormodel.
Auto-detected by SimpleForm because the attribute's AR type is :anchormodel.