*}
{* Callback snippet: On-behalf profile *}
{if $snippet and !empty($isOnBehalfCallback)}
+<div class="crm-public-form-item crm-section">
{include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl" context="front-end"}
-
+</div>
{* Callback snippet: Load payment processor *}
{elseif $snippet}
{include file="CRM/Core/BillingBlock.tpl"}
{if $paymentProcessor.payment_processor_type EQ 'PayPal_Express'}
<div id="paypalExpress">
{assign var=expressButtonName value='_qf_Main_upload_express'}
- <fieldset class="crm-group paypal_checkout-group">
+ <fieldset class="crm-public-form-item crm-group paypal_checkout-group">
<legend>{ts}Checkout with PayPal{/ts}</legend>
<div class="section">
- <div class="crm-section paypalButtonInfo-section">
+ <div class="crm-public-form-item crm-section paypalButtonInfo-section">
<div class="content">
<span class="description">{ts}Click the PayPal button to continue.{/ts}</span>
</div>
<div class="clear"></div>
</div>
- <div class="crm-section {$expressButtonName}-section">
+ <div class="crm-public-form-item crm-section {$expressButtonName}-section">
<div class="content">
{$form.$expressButtonName.html} <span class="description">Checkout securely. Pay without sharing your financial information. </span>
</div>
</div>
{/if}
- <div id="intro_text" class="crm-section intro_text-section">
+ <div id="intro_text" class="crm-public-form-item crm-section intro_text-section">
{$intro_text}
</div>
{include file="CRM/common/cidzero.tpl"}
{/if}
{if !empty($useForMember)}
- {include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="makeContribution"}
+ <div class="crm-public-form-item crm-section">
+ {include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="makeContribution"}
+ </div>
{else}
<div id="priceset-div">
{include file="CRM/Price/Form/PriceSet.tpl" extends="Contribution"}
{if $pledgeBlock}
{if $is_pledge_payment}
- <div class="crm-section {$form.pledge_amount.name}-section">
+ <div class="crm-public-form-item crm-section {$form.pledge_amount.name}-section">
<div class="label">{$form.pledge_amount.label} <span class="marker">*</span></div>
<div class="content">{$form.pledge_amount.html}</div>
<div class="clear"></div>
</div>
{else}
- <div class="crm-section {$form.is_pledge.name}-section">
+ <div class="crm-public-form-item crm-section {$form.is_pledge.name}-section">
<div class="label"> </div>
<div class="content">
{$form.is_pledge.html}
{/if}
{if $form.is_recur}
- <div class="crm-section {$form.is_recur.name}-section">
+ <div class="crm-public-form-item crm-section {$form.is_recur.name}-section">
<div class="label"> </div>
<div class="content">
{$form.is_recur.html} {$form.is_recur.label} {ts}every{/ts}
</div>
{/if}
{if $pcpSupporterText}
- <div class="crm-section pcpSupporterText-section">
+ <div class="crm-public-form-item crm-section pcpSupporterText-section">
<div class="label"> </div>
<div class="content">{$pcpSupporterText}</div>
<div class="clear"></div>
</div>
{/if}
{assign var=n value=email-$bltID}
- <div class="crm-section {$form.$n.name}-section">
+ <div class="crm-public-form-item crm-section {$form.$n.name}-section">
<div class="label">{$form.$n.label}</div>
<div class="content">
{$form.$n.html}
</div>
{if $form.is_for_organization}
- <div class="crm-section {$form.is_for_organization.name}-section">
+ <div class="crm-public-form-item crm-section {$form.is_for_organization.name}-section">
<div class="label"> </div>
<div class="content">
{$form.is_for_organization.html} {$form.is_for_organization.label}
{/if}
{if $is_for_organization}
- <div id='onBehalfOfOrg' class="crm-section">
+ <div id='onBehalfOfOrg' class="crm-public-form-item crm-section">
{include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl"}
</div>
{/if}
{* User account registration option. Displays if enabled for one of the profiles on this page. *}
- {include file="CRM/common/CMSUser.tpl"}
- {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="makeContribution"}
+ <div class="crm-public-form-item crm-section cms_user-section">
+ {include file="CRM/common/CMSUser.tpl"}
+ </div>
+ <div class="crm-public-form-item crm-section premium_block-section">
+ {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="makeContribution"}
+ </div>
{if $honor_block_is_active}
- <fieldset class="crm-group honor_block-group">
+ <fieldset class="crm-public-form-item crm-group honor_block-group">
{include file="CRM/Contribute/Form/SoftCredit.tpl"}
- <div id="honorType" class="honoree-name-email-section">
+ <div id="honorType" class="crm-public-form-item honoree-name-email-section">
{include file="CRM/UF/Form/Block.tpl" fields=$honoreeProfileFields mode=8 prefix='honor'}
</div>
</fieldset>
{/if}
- <div class="crm-group custom_pre_profile-group">
+ <div class="crm-public-form-item crm-group custom_pre_profile-group">
{include file="CRM/UF/Form/Block.tpl" fields=$customPre}
</div>
{if $isHonor}
- <fieldset class="crm-group pcp-group">
- <div class="crm-section pcp-section">
- <div class="crm-section display_in_roll-section">
+ <fieldset class="crm-public-form-item crm-group pcp-group">
+ <div class="crm-public-form-item crm-section pcp-section">
+ <div class="crm-public-form-item crm-section display_in_roll-section">
<div class="content">
{$form.pcp_display_in_roll.html}
{$form.pcp_display_in_roll.label}
</div>
<div class="clear"></div>
</div>
- <div id="nameID" class="crm-section is_anonymous-section">
+ <div id="nameID" class="crm-public-form-item crm-section is_anonymous-section">
<div class="content">
{$form.pcp_is_anonymous.html}
</div>
<div class="clear"></div>
</div>
- <div id="nickID" class="crm-section pcp_roll_nickname-section">
+ <div id="nickID" class="crm-public-form-item crm-section pcp_roll_nickname-section">
<div class="label">{$form.pcp_roll_nickname.label}</div>
<div class="content">{$form.pcp_roll_nickname.html}
<div class="description">{ts}Enter the name you want listed with this contribution. You can use a nick name like 'The Jones Family' or 'Sarah and Sam'.{/ts}</div>
</div>
<div class="clear"></div>
</div>
- <div id="personalNoteID" class="crm-section pcp_personal_note-section">
+ <div id="personalNoteID" class="crm-public-form-item crm-section pcp_personal_note-section">
<div class="label">{$form.pcp_personal_note.label}</div>
<div class="content">
{$form.pcp_personal_note.html}
{if $form.payment_processor.label}
{* PP selection only works with JS enabled, so we hide it initially *}
- <fieldset class="crm-group payment_options-group" style="display:none;">
+ <fieldset class="crm-public-form-item crm-group payment_options-group" style="display:none;">
<legend>{ts}Payment Options{/ts}</legend>
- <div class="crm-section payment_processor-section">
+ <div class="crm-public-form-item crm-section payment_processor-section">
<div class="label">{$form.payment_processor.label}</div>
<div class="content">{$form.payment_processor.html}</div>
<div class="clear"></div>
{/if}
{if $is_pay_later}
- <fieldset class="crm-group pay_later-group">
+ <fieldset class="crm-public-form-item crm-group pay_later-group">
<legend>{ts}Payment Options{/ts}</legend>
- <div class="crm-section pay_later_receipt-section">
+ <div class="crm-public-form-item crm-section pay_later_receipt-section">
<div class="label"> </div>
<div class="content">
[x] {$pay_later_text}
</div>
{include file="CRM/common/paymentBlock.tpl"}
- <div class="crm-group custom_post_profile-group">
+ <div class="crm-public-form-item crm-group custom_post_profile-group">
{include file="CRM/UF/Form/Block.tpl" fields=$customPost}
</div>
{if $is_monetary and $form.bank_account_number}
<div id="payment_notice">
- <fieldset class="crm-group payment_notice-group">
+ <fieldset class="crm-public-form-item crm-group payment_notice-group">
<legend>{ts}Agreement{/ts}</legend>
{ts}Your account data will be used to charge your bank account via direct debit. While submitting this form you agree to the charging of your bank account via direct debit.{/ts}
</fieldset>
{include file="CRM/common/formButtons.tpl" location="bottom"}
</div>
{if $footer_text}
- <div id="footer_text" class="crm-section contribution_footer_text-section">
+ <div id="footer_text" class="crm-public-form-item crm-section contribution_footer_text-section">
<p>{$footer_text}</p>
</div>
{/if}