Open jensschuppe opened 4 years ago
@jensschuppe care to provide a PR?
Sure, can you confirm that one beforehand?
making the page path contain civicrm/admin/ so that admin-related styles are applied (I guess those forms are not meant to be public)
... so as to not break anything (permission-like).
civicrm/membership/payments
is meant for users not just for admins.
The templates should use correct markup structure and CSS classes for elements to be displayed correctly with the CiviCRM Core design as well as org.civicrm.shoreditch.
An example for when this fails with Shoreditch, is the form at civicrm/membership/payments:
It should display like this:
This involves (incomplete):
civicrm/admin/
so that admin-related styles are applied (I guess those forms are not meant to be public)<div class="crm-submit-buttons"></div>
crm-form-submit
CSS class to<input type="submit" />
elements.crm-submit-buttons
element inside the.crm-form-block
crm-master-accordion-header
class withcrm-accordion-header