Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Introducing fieldsets and rows #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

manuelnaranjo
Copy link

In order to achieve a grid form layout like in the image we need field containers. Fieldsets will contain rows which then will contain fields.

Possible target:

Real example (with only 1 fieldset):
gridform

Allow the user to set the label class, this allows for better grid form
integration
This two new field types are containers, and not fields on it's own. A
fieldset is expected to be composed of Rows, and a Row of different fields,
cascading rows is not honored, and actually makes no sense.

There are helpers method to tell if field is a field set.

RowField is capable of calculating necessary classes to expand row content.

Fieldset with reference and reference_many fields row are resolved
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant