Project

General

Profile

RE: Wt::Auth::AuthWidget and bootstrap3 ยป xml.xml

Alex V, 07/28/2014 04:20 PM

 
<message id="Wt.Auth.template.login">
<div class="span8 offset2 Wt-auth-login">
<legend>${tr:Wt.Auth.login-form-title}</legend>
<p>${tr:Wt.Auth.login-form-info}</p>

<div class="form-horizontal">
${<if:passwords>}
<div class="form-group">
<label for="${id:user-name}" class="control-label col-sm-2">
${user-name-label}
</label>
<div class="col-sm-5">
${user-name}
</div>
<div class="help-block col-sm-5">
${user-name-info}
</div>
</div>

${block:Wt.Auth.field password}
${block:Wt.Auth.field remember-me}
${</if:passwords>}

${<if:oauth>}
<div class="control-group">
<div class="controls">
<p>Or login using:</p>
${icons}
</div>
</div>
${</if:oauth>}

<div class="form-actions">
<p>${login class="btn-primary"}</p>
<p>${lost-password class="btn-link"} ${sep}
${register class="btn-link"}</p>
</div>
</div>
</div>
</message>
    (1-1/1)