Skip to content

Shortcut to initialize all fields with same attributes? #144

@nicolasfranck

Description

@nicolasfranck

It can be tedious to add a list of attributes to every field ( e.g. when specifying the custom
field_list ), especially for rendering.

e.g. I use the widget "Bootstrap3", and I want to add these attributes to every field:

element_wrapper_class: "col-md-10"
label_class: "col-md-2"

to make the horizontal form work again ( "form-horizontal" does not work in bootstrap3 )

Of course, local assigned attributes should have precendence.

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions