liebling/partials/subscribe_form.hbs

16 lines
507 B
Handlebars
Raw Normal View History

2019-02-23 13:53:40 +00:00
<form method="post" action="{{action}}" id="{{form_id}}" class="{{form_class}}">
{{hidden}}
<fieldset>
<label for="{{input_id}}" class="sr-only">{{placeholder}}</label>
2019-02-23 13:53:40 +00:00
{{input_email id=input_id class=input_class placeholder=placeholder value=email autofocus=autofocus}}
</fieldset>
<button id="{{button_id}}" class="{{button_class}}" type="submit">Subscribe</button>
{{script}}
{{#if error}}
<p class="m-small-text in-subscribe-page">Email cannot be blank.</p>
{{/if}}
</form>