mpezzi / bootstrap

A Twitter Bootstrap base theme for Drupal.
26 stars 8 forks source link

Fixed some issues with Drupal forms. #8

Open fixed opened 11 years ago

fixed commented 11 years ago

Also introducing new theme setting which enables horizontal forms.

fixed commented 11 years ago

Uh, I didn't see that in the subtheme! Sorry.

Yes, Having it dynamically turned off/on for certain forms only through the admin interface seems reasonable. I remember a D6 module that would add enable/disable links to all forms if the user has the proper rights (can't remember the name though) .. but that would be a bit overkill I guess.

The other additions were merely checks against missing array indices that throw errors on my PHP installation as well as adding the control-groups/controls based on the horizontal-form flag. (Ok there is a CSS change too but that only affects users having admin-menu installed)

Let me change the forms thing into the admin interface with the suggested text-area.