<div class="modal-content" data-test-modal="add-tags">
    <header class="modal-header">
        <h1>Add tags</h1>
    </header>
    <button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>

    <div class="modal-body mb9">
        <p>
            <GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="tags">
                <GhTagsTokenInput
                    @allowCreation={{true}}
                    @selected={{this.selectedTags}}
                    @onChange={{this.handleChange}}
                    @onCreate={{this.handleCreate}}
                    @renderInPlace={{true}}
                    @triggerId={{this.triggerId}}
                    @placeholder="Select or enter tags..."
                />
                <GhErrorMessage @errors={{this.errors}} @property="tags" />
            </GhFormGroup>
        </p>
    </div>

    <div class="modal-footer">
        <button class="gh-btn" data-test-button="cancel" type="button" {{on "click" (fn @close false)}}><span>Cancel</span></button>

         <GhTaskButton
            @buttonText="Add"
            @runningText="Adding"
            @showSuccess={{false}}
            @task={{this.confirm}}
            @class="gh-btn gh-btn-primary gh-btn-icon"
            data-test-button="confirm"
        />

    </div>
</div>
