-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
29 deletions.
There are no files selected for viewing
30 changes: 16 additions & 14 deletions
30
wagtailio/project_styleguide/templates/patterns/components/sign_up_form/base_form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<div class="sign-up-form {% if classes %}{{ classes }}{% endif %}"> | ||
<h2 class="sign-up-form__heading heading-three">{{ heading }}</h2> | ||
<p class="sign-up-form__sub-heading">{{ sub_heading }}</p> | ||
<form class="sign-up-form__container" action="https://torchbox.us1.list-manage.com/subscribe/post?u={{ mailchimp_account_id }}&id={{ mailchimp_newsletter_id }}" method="post"> | ||
<div> | ||
<input class="sign-up-form__input" id="email" name="EMAIL" type="email" autocomplete="email" placeholder="Enter your email address" aria-label="Email" required/> | ||
</div> | ||
<button class="button sign-up-form__button" type="submit"> | ||
<span class="button__text">Sign up</span> | ||
<svg class="arrow" aria-hidden="true"><use xlink:href="#arrow"></use></svg> | ||
</button> | ||
{% if icon %} | ||
{% include "patterns/components/icon/icon.html" with classes="sign-up-form__icon" icon="" overlay_icon="wagtail-envelope" %} | ||
{% endif %} | ||
</form> | ||
<div class="sign-up-form__inner"> | ||
<h2 class="sign-up-form__heading heading-three">{{ heading }}</h2> | ||
<p class="sign-up-form__sub-heading">{{ sub_heading }}</p> | ||
<form class="sign-up-form__container" action="https://torchbox.us1.list-manage.com/subscribe/post?u={{ mailchimp_account_id }}&id={{ mailchimp_newsletter_id }}" method="post"> | ||
<div> | ||
<input class="sign-up-form__input" id="email" name="EMAIL" type="email" autocomplete="email" placeholder="Enter your email address" aria-label="Email" required/> | ||
</div> | ||
<button class="button sign-up-form__button" type="submit"> | ||
<span class="button__text">Sign up</span> | ||
<svg class="arrow" aria-hidden="true"><use xlink:href="#arrow"></use></svg> | ||
</button> | ||
</form> | ||
</div> | ||
{% if icon %} | ||
{% include "patterns/components/icon/icon.html" with classes="sign-up-form__icon" icon="" overlay_icon="wagtail-envelope" %} | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters