Class: LinkedRails::Form::Field::AssociationInput
- Inherits:
-
LinkedRails::Form::Field
- Object
- Resource
- LinkedRails::Form::Field
- LinkedRails::Form::Field::AssociationInput
- Defined in:
- app/models/linked_rails/form/field/association_input.rb
Instance Attribute Summary collapse
Attributes inherited from LinkedRails::Form::Field
#default_value, #description, #form, #group, #helper_text, #input_field, #key, #label, #max_count, #max_count_prop, #max_inclusive, #max_inclusive_prop, #max_length, #max_length_prop, #min_count, #min_count_prop, #min_inclusive, #min_inclusive_prop, #min_length, #min_length_prop, #model_attribute, #model_class, #path, #pattern, #sh_in, #sh_in_prop, #validators
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from LinkedRails::Form::Field
iri, #name, #permission_required?
Methods inherited from Resource
Methods included from Model
#build_child, #singular_resource?
Methods included from Model::Serialization
#preview_includes, #show_includes
Methods included from Model::Iri
#anonymous_iri, #anonymous_iri?, #iri, #iri_opts, #rdf_type, #reload, #root_relative_iri, #route_fragment
Methods included from Model::Enhancements
Methods included from Model::Dirty
#previous_changes_by_predicate, #previously_changed_relations
Methods included from Model::Collections
#collection_for, #parent_collections
Instance Attribute Details
#nested_form ⇒ Object
11 12 13 |
# File 'app/models/linked_rails/form/field/association_input.rb', line 11 def nested_form @nested_form ||= klass_name.constantize.form_class end |
Instance Method Details
#datatype ⇒ Object
9 |
# File 'app/models/linked_rails/form/field/association_input.rb', line 9 def datatype; end |