Ghost/ghost/admin/app/components/modal-feedback-lexical.hbs
Steve Larson 080a1c92d8 fixed linter errors
no refs
2023-05-11 08:14:11 -05:00

38 lines
1.6 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="modal-content" data-test-modal="lexical-feedback">
<header class="modal-header">
<h1>Editor beta feedback</h1>
</header>
<a class="close" href="" role="button" title="Close" {{on "click" this.closeModal}}>{{svg-jar "close"}}<span
class="hidden">Close</span></a>
<div class="modal-body gh-modal-feedback-lexical">
{{!-- <p>Have any issues? Feedback? Let us know!</p> --}}
<form>
<GhFormGroup>
<label for="feedback-lexical">Have any issues? Feedback? Let us know below!</label>
<GhTextarea
@id="feedback-lexical"
@name="feedback-lexical"
@value={{this.feedbackMessage}}
@placeholder="I've noticed that..."
@shouldFocus={{true}}
data-test-lexical-feedback-textarea
/>
{{!--
<GhErrorMessage @errors={{this.member.errors}} @property="note" /> --}}
{{!-- <p> Maximum: <b>500</b> characters. Youve used
{{gh-count-down-characters this.feedbackMessage 500}}</p> --}}
</GhFormGroup>
</form>
</div>
<div class="modal-footer">
<button class="gh-btn" type="button" {{on "click" this.closeModal}}><span>Cancel</span></button>
<GhTaskButton
@buttonText="Send feedback"
@task={{this.submitFeedback}}
@class="gh-btn gh-btn-black gh-btn-icon"
data-test-button="submit-lexical-feedback"
/>
</div>
</div>