2016-04-15 17:45:50 +03:00
|
|
|
<header class="modal-header">
|
|
|
|
<h1>Add a Subscriber</h1>
|
|
|
|
</header>
|
2017-04-14 19:22:14 +03:00
|
|
|
<a class="close" href="" title="Close" {{action "closeModal"}}>{{inline-svg "close"}}<span class="hidden">Close</span></a>
|
2016-04-15 17:45:50 +03:00
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
<fieldset>
|
|
|
|
{{#gh-form-group errors=model.errors hasValidated=model.hasValidated property="email"}}
|
|
|
|
<label for="new-subscriber-email">Email Address</label>
|
|
|
|
<input type="email"
|
|
|
|
value={{model.email}}
|
|
|
|
oninput={{action "updateEmail" value="target.value"}}
|
|
|
|
id="new-subscriber-email"
|
|
|
|
class="gh-input email"
|
|
|
|
placeholder="Email Address"
|
|
|
|
name="email"
|
|
|
|
autofocus="autofocus"
|
|
|
|
autocapitalize="off"
|
|
|
|
autocorrect="off">
|
|
|
|
{{gh-error-message errors=model.errors property="email"}}
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2017-02-16 22:50:05 +03:00
|
|
|
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
|
2017-04-07 18:23:45 +03:00
|
|
|
{{gh-task-button "Add" successText="Added" task=addSubscriber class="gh-btn gh-btn-green gh-btn-icon"}}
|
2017-02-16 22:50:05 +03:00
|
|
|
</div>
|