<commit_before>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <link rel="icon" th:href="@{/images/favicon.ico}"/>

    <title>Stuttr - Log in</title>
    <link th:href="@{/webjars/bootstrap/3.3.4/css/bootstrap.min.css}" rel="stylesheet" media="screen" />
    <link th:href="@{/css/style.css}" type="text/css" rel="stylesheet" />

    <link th:href="@{/css/signin.css}" rel="stylesheet"/>
  </head>

  <body>

    <div class="site-wrapper">

      <div class="site-wrapper-inner">

        <div class="cover-container">

          <div class="masthead clearfix">
            <div class="inner">
              <nav>
                <ul class="nav masthead-nav">
                  <li class="active"><a href="/login">Anmelden</a></li>
                  <li><a href="/register">Registrieren</a></li>
                </ul>
              </nav>
            </div>
          </div>

          <div class="inner-cover">

            <form class="form-signin" th:action="@{/login}" th:object="${user}" method="post">
                <h1 class="form-signin-heading">Stuttr</h1>

              <label for="inputUserName" class="sr-only">Benutzername</label>
              <input type="text" th:field="*{username}" class="form-control" placeholder="Benutzername" required ="required"
                     autofocus="autofocus"/>
              <label for="inputPassword" class="sr-only">Passwort</label>
              <input type="password" th:field="*{password}" class="form-control" placeholder="Passwort" required="required"/>
              <div class="checkbox">
                <label>
                  <input type="checkbox" value="remember-me"/> Angemeldet bleiben</label>
              </div>
              <button class="btn btn-lg btn-primary btn-block" type="submit">Anmelden</button>
            </form>

        </div> <!-- /inner cover-->

          <div class="mastfoot">
            <div class="inner">
              <p>Erfahre mehr über <a href="http://tobscore.com">Stuttr</a>.</p>
            </div>
          </div>

        </div>

      </div>

    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script th:src="@{/webjars/jquery/2.1.4/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/3.3.4/js/bootstrap.min.js}"></script>
  </body>
</html><commit_msg>Adds error message to login view<commit_after>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <link rel="icon" th:href="@{/images/favicon.ico}"/>

    <title>Stuttr - Log in</title>
    <link th:href="@{/webjars/bootstrap/3.3.4/css/bootstrap.min.css}" rel="stylesheet" media="screen" />
    <link th:href="@{/css/style.css}" type="text/css" rel="stylesheet" />

    <link th:href="@{/css/signin.css}" rel="stylesheet"/>
  </head>

  <body>

    <div class="site-wrapper">

      <div class="site-wrapper-inner">

        <div class="cover-container">

          <p th:text="( ${error} != null ? ${error} + '!' : '')"/>

          <div class="masthead clearfix">
            <div class="inner">
              <nav>
                <ul class="nav masthead-nav">
                  <li class="active"><a href="/login">Anmelden</a></li>
                  <li><a href="/register">Registrieren</a></li>
                </ul>
              </nav>
            </div>
          </div>

          <div class="inner-cover">

            <form class="form-signin" th:action="@{/login}" th:object="${user}" method="post">
                <h1 class="form-signin-heading">Stuttr</h1>

              <label for="inputUserName" class="sr-only">Benutzername</label>
              <input type="text" th:field="*{username}" class="form-control" placeholder="Benutzername" required ="required"
                     autofocus="autofocus"/>
              <label for="inputPassword" class="sr-only">Passwort</label>
              <input type="password" th:field="*{password}" class="form-control" placeholder="<PASSWORD>" required="required"/>
              <div class="checkbox">
                <label>
                  <input type="checkbox" value="remember-me"/> Angemeldet bleiben</label>
              </div>
              <button class="btn btn-lg btn-primary btn-block" type="submit">Anmelden</button>
            </form>

        </div> <!-- /inner cover-->

          <div class="mastfoot">
            <div class="inner">
              <p>Erfahre mehr über <a href="http://tobscore.com">Stuttr</a>.</p>
            </div>
          </div>

        </div>

      </div>

    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script th:src="@{/webjars/jquery/2.1.4/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/3.3.4/js/bootstrap.min.js}"></script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.2054746446745043, 'fraction_numerical': 0.0049131426566064226, 'mean_word_length': 2.3352837916910474, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '5213534', 'n_tokens_mistral': 1790, 'n_tokens_neox': 1714, 'n_words': 345}