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

Introducing fieldsets and rows#34

Open
manuelnaranjo wants to merge 2 commits intomarmelab:masterfrom
manuelnaranjo:fieldset-row
Open

Introducing fieldsets and rows#34
manuelnaranjo wants to merge 2 commits intomarmelab:masterfrom
manuelnaranjo:fieldset-row

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant