users.change-password.html 1.1 KB
{% extends "starter-template.html" %}
{% block content %}

<form class="form-horizontal" method="POST">

    <input name="_id" type="hidden" value="{{ user._id }}">

    <div class="form-group">
        <label for="inputEmail" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-10">
            <input name="email" type="text" class="form-control" id="inputEmail" value="{{ user.email }}" readonly>
        </div>
    </div>

    <div class="form-group">
        <label for="inputPassword" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-10">
            <input name="password1" type="password" class="form-control" id="inputPassword1" placeholder="Password">
            <input name="password2" type="password" class="form-control" id="inputPassword2" placeholder="Retype password">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <input type="submit" class="btn btn-primary">
            <a href="/users" class="btn btn-default" role="button">Cancel</a>
        </div>
    </div>

</form>

{% endblock %}