From 436d120c2963b2d6e6edd7c078fce271f270aa92 Mon Sep 17 00:00:00 2001 From: Guanhuan Chen Date: Tue, 1 Dec 2015 18:11:13 +0000 Subject: [PATCH] Add crm-public-form-item class to contribution page and add possibility to style profiles consistently --- .../CRM/Contribute/Form/Contribution/Main.tpl | 67 +++++++++++-------- .../Form/Contribution/OnBehalfOf.tpl | 6 +- 2 files changed, 41 insertions(+), 32 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index 52e4f25a94..8189db7bb7 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -25,8 +25,9 @@ *} {* Callback snippet: On-behalf profile *} {if $snippet and !empty($isOnBehalfCallback)} - {include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl" context="front-end"} - +
+ {include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl" context="front-end"} +
{else} {literal}