You are here

README.txt in Formdazzle! 8

Same filename and directory in other branches
  1. 2.x 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

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-form.html.twig
  input--textfield--webform-contact-form--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. While Drupal core only provided these two theme suggestions:
  12. input.html.twig
  13. input--textfield.html.twig
  14. Formdazzle adds the following two theme suggestions to the list:
  15. input--textfield--webform-contact-form.html.twig
  16. input--textfield--webform-contact-form--first-name.html.twig