Ghost/ghost/admin/app/components/modal-stripe-connect.hbs
2023-01-30 17:09:09 +01:00

17 lines
701 B
Handlebars

<header class="modal-header" data-test-modal="webhook-form" {{will-destroy this.reset}}>
<h1 data-test-text="title">Connect with Stripe</h1>
</header>
<button class="close" href title="Close" type="button" {{on "click" this.closeModal}} {{on "mouseDown" (optional this.noop)}} data-test-button="close-stripe-connect">
{{svg-jar "close"}}
</button>
<form>
<div class="modal-body" {{did-insert this.updateSuccessModifier}}>
<Settings::Members::StripeSettingsForm
@setStripeConnectIntegrationTokenSetting={{this.setStripeConnectIntegrationTokenSetting}}
@onConnected={{this.updateSuccessModifier}}
@onDisconnected={{this.updateSuccessModifier}}
/>
</div>
</form>