{*
 +--------------------------------------------------------------------+
 | CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
 | Copyright CiviCRM LLC (c) 2004-2015                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 | CiviCRM is free software; you can copy, modify, and distribute it  |
 | under the terms of the GNU Affero General Public License           |
 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
 |                                                                    |
 | CiviCRM is distributed in the hope that it will be useful, but     |
 | WITHOUT ANY WARRANTY; without even the implied warranty of         |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
 | See the GNU Affero General Public License for more details.        |
 |                                                                    |
 | You should have received a copy of the GNU Affero General Public   |
 | License and the CiviCRM Licensing Exception along                  |
 | with this program; if not, contact CiviCRM LLC                     |
 | at info[AT]civicrm[DOT]org. If you have questions about the        |
 | GNU Affero General Public License or the licensing of CiviCRM,     |
 | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
 +--------------------------------------------------------------------+
*}
<div class="crm-block crm-form-block crm-contribution-preview-form-block">
    <fieldset><legend>{ts}Contribution Page{/ts}</legend>
    <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
    <table class="form-layout-compressed">
    <tr class="crm-contribution-form-block-intro_text">
       <td class="label">{$form.intro_text.label}</td>
       <td class="html-adjust">{$form.intro_text.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-amount">
       <td class="label">{$form.amount.label}</td>
       <td class="html-adjust">{$form.amount.html}</td>
    </tr>
{if $is_allow_other_amount}
    <tr class="crm-contribution-form-block-amount_other">
       <td class="label">{$form.amount_other.label}</td>
       <td class="html-adjust">{$form.amount_other.html}</td>
    </tr>
{/if}
    <tr class="crm-contribution-form-block-email">
       <td class="label">{$form.email.label}</td>
       <td class="html-adjust">{$form.email.html}</td>
    </tr>
{include file="CRM/UF/Form/Block.tpl" fields=$customPre}
    <tr class="crm-contribution-form-block-_qf_Preview_next_express"><td></td><td>{$form._qf_Preview_next_express.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-first_name">
       <td class="label">{$form.first_name.label}</td>
       <td class="html-adjust">{$form.first_name.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-middle_name">
       <td class="label">{$form.middle_name.label}</td>
       <td class="html-adjust">{$form.middle_name.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-last_name">
       <td class="label">{$form.last_name.label}</td>
       <td class="html-adjust">{$form.last_name.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-street1">
       <td class="label">{$form.street1.label}</td>
       <td class="html-adjust">{$form.street1.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-city">
       <td class="label">{$form.city.label}</td>
       <td class="html-adjust">{$form.city.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-state_province">
       <td class="label">{$form.state_province.label}</td>
       <td class="html-adjust">{$form.state_province.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-postal_code">
       <td class="label">{$form.postal_code.label}</td>
       <td class="html-adjust">{$form.postal_code.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-country_id">
       <td class="label">{$form.country_id.label}</td>
       <td class="html-adjust">{$form.country_id.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-credit_card_number">
       <td class="label">{$form.credit_card_number.label}</td>
       <td class="html-adjust">{$form.credit_card_number.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-cvv2">
       <td class="label">{$form.cvv2.label}</td>
       <td class="html-adjust">{$form.cvv2.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-credit_card_type">
       <td class="label">{$form.credit_card_type.label}</td>
       <td class="html-adjust">{$form.credit_card_type.html}</td>
    </tr>
    <tr class="crm-contribution-form-block-credit_card_exp_date">
       <td class="label">{$form.credit_card_exp_date.label}</td>
       <td class="html-adjust">{$form.credit_card_exp_date.html}</td>
    </tr>
{include file="CRM/UF/Form/Block.tpl" fields=$customPost}
    </table>
    <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
    </fieldset>
</div>
