Mercurial > prosody-modules
diff mod_password_reset/password_reset/password_reset.html @ 3352:f7668aee968a
mod_password_reset: Switch to util.interpolation (our standard template library)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 09 Oct 2018 14:09:54 +0100 |
parents | 0ce475235ae1 |
children | 7cede636b3d5 |
line wrap: on
line diff
--- a/mod_password_reset/password_reset/password_reset.html Tue Oct 09 14:03:00 2018 +0100 +++ b/mod_password_reset/password_reset/password_reset.html Tue Oct 09 14:09:54 2018 +0100 @@ -7,6 +7,9 @@ </head> <body> <div class="container col-md-4 col-md-offset-4" style="margin-top: 100px"> + {message& + <div class="alert {classes}">{message}</div> + } <div class="panel panel-default"> <div class="panel-heading"> <div class="panel-title">Reset password</div> @@ -20,7 +23,7 @@ <div class="form-group" style="margin-right: 0px;"> <label for="user" class="col-sm-2 control-label">Account:</label> <div class="input-group col-sm-10"> - <input type="text" name="user" class="form-control" disabled placeholder="{{jid}}"> + <input type="text" name="user" class="form-control" disabled placeholder="{jid}"> </div> </div> <div class="form-group" style="margin-right: 0px;"> @@ -29,7 +32,7 @@ <input type="password" name="password" class="form-control" placeholder="password"> </div> </div> - <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="token" value="{token}"> <button type="submit" class="btn btn-primary btn-lg">Reset</button> </form> </div>