Created
June 27, 2012 16:38
-
-
Save objectivehtml/3005284 to your computer and use it in GitHub Desktop.
Newsletter Subscription Delegate Example
This file contains hidden or 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
| {exp:postmaster:delegate:newsletter:subscribe_form | |
| service="mailchimp" | |
| api_key="YOUR_API_KEY" | |
| list="YOUR_LIST_ID" | |
| class="newsletter" | |
| novalidate="novalidate" | |
| return="/thanks-for-subscribing" | |
| } | |
| <div class="row"> | |
| <div class="nine columns"> | |
| {if total_global_errors} | |
| <ul> | |
| {global_errors} | |
| <li>{error}</li> | |
| {/global_errors} | |
| </ul> | |
| {/if} | |
| <label for="email">E-mail Address</label> | |
| <input type="email" name="email" value="" id="email" placeholder="you@example.org" /> | |
| </div> | |
| <div class="three columns"> | |
| <button type="submit" class="nice round pink button">Sign-up</button> | |
| </div> | |
| </div> | |
| {/exp:postmaster:delegate:newsletter:subscribe_form} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment