feat: tpl changes for nodebb/nodebb#9607

main
Julian Lam 4 years ago
parent 51cd52bcc4
commit 46118bc63a

@ -8,14 +8,6 @@
<p>{error}</p>
</div>
<form component="register/local" class="form-horizontal" role="form" action="{config.relative_path}/register" method="post">
<div class="form-group">
<label for="email" class="col-lg-4 control-label">[[register:email_address]]</label>
<div class="col-lg-8">
<input class="form-control" type="email" placeholder="[[register:email_address_placeholder]]" name="email" id="email" autocorrect="off" autocapitalize="off" />
<span class="register-feedback" id="email-notify"></span>
<span class="help-block">[[register:help.email]]</span>
</div>
</div>
<div class="form-group">
<label for="username" class="col-lg-4 control-label">[[register:username]]</label>
<div class="col-lg-8">

@ -3,7 +3,7 @@
<div class="row">
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
<p class="lead text-center">
[[register:interstitial.intro]]
{{{ if register }}}[[register:interstitial.intro-new]]{{{ else }}}[[register:interstitial.intro]]{{{ end }}}
</p>
<!-- IF errors.length -->
@ -42,6 +42,6 @@
</form>
<form role="form" method="post" action="{config.relative_path}/register/abort">
<p class="text-center">
<button class="btn btn-link">[[register:cancel_registration]]</button>
<button class="btn btn-link">{{{ if register }}}[[register:cancel_registration]]{{{ else }}}[[modules:bootbox.cancel]]{{{ end }}}</button>
</p>
</form>
Loading…
Cancel
Save