PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

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