<commit_before>{% extends "base.html" %}

{% block title %}Login{% endblock title %}

{% block content %}

<div class="row">
  <br/><br/>
  <div class="col-md-4 col-md-offset-4 col-sm-4 col-sm-offset-4">

  <center><h2>Login to Indigo</h2></center>
  <div class="well">
    <form id="loginForm" method="POST" action="." novalidate="novalidate">
      {% csrf_token %}
      <div class="form-group">
        <label for="username" class="control-label">Username</label>
        <input type="text" class="form-control" id="username" name="username" value="" required="" title="Please enter you username" placeholder="Username">
        <span class="help-block"></span>
      </div>
      <div class="form-group">
        <label for="password" class="control-label">Password</label>
        <input type="password" class="form-control" id="password" name="password" value="" required="" title="Please enter your password" placeholder="Password">
        <span class="help-block"></span>
      </div>
      <div id="loginErrorMsg" class="alert alert-error hide">Wrong username og password</div>

        <label>
            <input type="hidden" name="remember" id="remember" checked="checked">
        </label>

      <button type="submit" class="btn btn-success btn-block">Login</button>
      <a href="/accounts/forgot/" class="btn btn-default btn-block">Forgotten password</a>
    </form>
  </div>
 </div>
</div>


{% endblock %}

{% block extra_javascript %}
  <script type="text/javascript"><commit_msg>Commented out forgotten password button from registration form. To be implemented by UMD intern as per bug #5<commit_after>{% extends "base.html" %}

{% block title %}Login{% endblock title %}

{% block content %}

<div class="row">
  <br/><br/>
  <div class="col-md-4 col-md-offset-4 col-sm-4 col-sm-offset-4">

  <center><h2>Login to Indigo</h2></center>
  <div class="well">
    <form id="loginForm" method="POST" action="." novalidate="novalidate">
      {% csrf_token %}
      <div class="form-group">
        <label for="username" class="control-label">Username</label>
        <input type="text" class="form-control" id="username" name="username" value="" required="" title="Please enter you username" placeholder="Username">
        <span class="help-block"></span>
      </div>
      <div class="form-group">
        <label for="password" class="control-label">Password</label>
        <input type="password" class="form-control" id="password" name="password" value="" required="" title="Please enter your password" placeholder="Password">
        <span class="help-block"></span>
      </div>
      <div id="loginErrorMsg" class="alert alert-error hide">Wrong username og password</div>

        <label>
            <input type="hidden" name="remember" id="remember" checked="checked">
        </label>

      <button type="submit" class="btn btn-success btn-block">Login</button>
      <!--<a href="/accounts/forgot/" class="btn btn-default btn-block">Forgotten password</a>-->
    </form>
  </div>
 </div>
</div>


{% endblock %}

{% block extra_javascript %}
  <script type="text/javascript">
{'fraction_non_alphanumeric': 0.18442227228838107, 'fraction_numerical': 0.0041841004184100415, 'mean_word_length': 3.7595712098009186, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 80, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4253302', 'n_tokens_mistral': 971, 'n_tokens_neox': 926, 'n_words': 224}