Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut to initialize all fields with same attributes? #144

Open
nicolasfranck opened this issue Mar 15, 2018 · 1 comment
Open

Shortcut to initialize all fields with same attributes? #144

nicolasfranck opened this issue Mar 15, 2018 · 1 comment

Comments

@nicolasfranck
Copy link

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?

@nicolasfranck
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant