/modules/mod_mailinglist/templates/_dialog_mailing_testaddress.tpl

http://github.com/zotonic/zotonic · Smarty Template · 20 lines · 17 code · 3 blank · 0 comment · 0 complexity · c8bd390af01aa3ee331d81b3b2d0037a MD5 · raw file

  1. {% wire type="submit" id=#form postback={mailing_testaddress id=id} action={dialog_close} delegate="mod_mailinglist" %}
  2. <form id="{{ #form }}" method="post" action="postback">
  3. <p>{_ Please enter the e-mail address you want to send a test mail to. _}</p>
  4. <div class="form-group">
  5. <div class="control-label">
  6. <label class="control-label" for="email">{_ E-mail _}</label>
  7. <div>
  8. <input id="{{ #email }}" type="text" value="{{ m.acl.user.email }}" class="input-xlarge form-control" autofocus name="email" />
  9. {% validate id=#email name="email" type={presence} type={email} %}
  10. </div>
  11. </div>
  12. </div>
  13. <div class="modal-footer">
  14. {% button class="btn btn-default" text=_"Cancel" action={dialog_close} tag="a" %}
  15. {% button class="btn btn-primary" type="submit" text=_"Send e-mail" %}
  16. </div>
  17. </form>