{{#if confirmation}} {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.confirm")}} {{#d-modal-body}}
{{i18n 'discourse_patrons.confirmation.amount'}} {{amount}}
{{i18n 'discourse_patrons.confirmation.last4'}} .... .... .... {{last4}}
{{/d-modal-body}} {{/d-modal}} {{#if paymentError}} {{/if}} {{else}}

{{i18n 'discourse_patrons.your_information'}}

{{i18n 'discourse_patrons.amount'}} {{siteSettings.discourse_patrons_currency}}
{{combo-box valueAttribute="value" content=amounts value=amount}}
{{i18n 'discourse_patrons.billing.name'}}
{{input value=billing.name}}
{{i18n 'discourse_patrons.billing.email'}}
{{input value=billing.email}}
{{i18n 'discourse_patrons.billing.phone'}}
{{input value=billing.phone}}
{{stripe-card amount=amount currency=currency billing=billing handleConfirmStripeCard=(action "handleConfirmStripeCard") }}
{{/if}}