
<div class="modal-content" {{on-key "Enter" (perform this.archiveOfferTask)}}>
    <header class="modal-header">
        <h1>Archive offer</h1>
    </header>
    <button type="button" class="close" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>

    <div class="modal-body">
        <p>
            New members will no longer be able to subscribe using this offer. All members that previously redeemed <strong>{{@data.offer.name}}</strong> will remain unchanged.
        </p>
    </div>

    <div class="modal-footer">
        <button type="button" class="gh-btn" {{on "click" @close}}><span>Cancel</span></button>
        <GhTaskButton
            @buttonText="Archive"
            @successText="Archived"
            @task={{this.archiveOfferTask}}
            @class="gh-btn gh-btn-black gh-btn-icon"
        />
    </div>
</div>
