You are here

README.txt in Formdazzle! 2.x

Same filename and directory in other branches
  1. 8 README.txt
Formdazzle!

Drupal form theming with less pain

Theming drupal forms can be difficult and time-consuming. This module provides a
set of utilities that make form theming easier.

Currently, this module provides theme suggestions for forms that are much more
useful than those provided by Drupal core.

- Theme suggestions for all form elements (including buttons)
- Theme suggestions for all form element labels
- All theme suggestions include the form ID and the form element name;
  e.g. [element-type]--[form-id]--[form-element-name].html.twig
- Twig debugging comments have been added to all forms for the hidden
  [form-id].html.twig template.

While Drupal core only provided these two theme suggestions:

  input.html.twig
  input--textfield.html.twig

Formdazzle adds the following two theme suggestions to the list:

  input--textfield--webform-contact.html.twig
  input--textfield--webform-contact--first-name.html.twig

File

README.txt
View source
  1. Formdazzle!
  2. Drupal form theming with less pain
  3. Theming drupal forms can be difficult and time-consuming. This module provides a
  4. set of utilities that make form theming easier.
  5. Currently, this module provides theme suggestions for forms that are much more
  6. useful than those provided by Drupal core.
  7. - Theme suggestions for all form elements (including buttons)
  8. - Theme suggestions for all form element labels
  9. - All theme suggestions include the form ID and the form element name;
  10. e.g. [element-type]--[form-id]--[form-element-name].html.twig
  11. - Twig debugging comments have been added to all forms for the hidden
  12. [form-id].html.twig template.
  13. While Drupal core only provided these two theme suggestions:
  14. input.html.twig
  15. input--textfield.html.twig
  16. Formdazzle adds the following two theme suggestions to the list:
  17. input--textfield--webform-contact.html.twig
  18. input--textfield--webform-contact--first-name.html.twig