Source

yt.hub / ythub / templates / login.html

Full commit
{% extends "layout.html" %}
{% block subpage %} Create User {% endblock %}
{% block title %}Create User{% endblock %}

{% block mainbody %}
<section style="padding-top:5.0em;">
  <div class="row">
    <div class="span12">
      <div class="row">
        <div class="span12">
          <h1>Login</h1>
        </div>
      </div>
      <div class="row">
        <div class="span12">
          <form action="login" method="post" class="form-horizontal">
            <legend>Login Information</legend>
            <div class="control-group">
              <label class="control-label" for="name">Username</label>
              <div class="controls">
                <input type="text" class="input-xlarge" name="username" id="username">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="password">Password</label>
              <div class="controls">
                <input type="password" class="input-xlarge" name="password" id="password">
              </div>
            </div>
            <input type=hidden name=next value="{{ next }}">
            <button type="submit" class="btn btn-primary">Login</button>
          </form>
        </div>
      </div>
      <div class="row">
        <div class="span12">
          <form action="reset_pw" method="post" class="form-horizontal">
            <legend>Password Reset</legend>
            <div class="control-group">
              <label class="control-label" for="email">E-mail address</label>
              <div class="controls">
                <input type="text" class="input-xlarge" name="email" id="email">
              </div>
            </div>
            <button type="submit" class="btn btn-primary">Reset Password</button>
          </form>
        </div>
      </div>
    </div>
  </div>
</section>
{% endblock %}