UADIGITAL-772: Adding more theming for Webforms.
Joe Parsons
Branch: UADIGITAL-772
Branch: 7.x-1.x
Declined
Declined pull request
Moved to the monorepo, but do not delete the branch here until a new pull request is made and merged there.
Closed by: Martin Munro·2017-06-05
We've discovered some lack of theming issues with Webforms with UA Sites. The changes here mostly just implement the same solutions added to the contrib bootstrap theme for these issues:
https://www.drupal.org/node/2712217
https://www.drupal.org/node/2698637
Changes made to UA Zen:
Added
ua_zen_webform_element()
andua_zen_form_label_element()
theme functions (copied from contrib bootstrap theme).Added
_ua_zen_get_attributes()
helper function (copied from contrib bootstrap theme).Replaced existing
ua_zen_form_element()
andua_zen_preprocess_webform_element()
functions with latest from contrib bootstrap theme.