<commit_before><script type="text/javascript">
  $( document ).ready(function(){ 
    $('.modal-trigger').leanModal( {dismissible: true} );
  });
</script>

<div ng-controller="AuthController">

  <!-- Signin Form -->
  <div class="container" ng-show="signin">
    <h3>Sign In</h3>
    <form ng-submit="attemptLogin()">
      <div class="row">
        <div class="input-field col s6">
          <input id="username" type="text" class="validate" ng-model="attemptedUsername">
          <label for="user_name" required>Username</label>
        </div>
      </div>
      <div class="row">
        <div class="input-field col s6">
          <input id="password" type="password" class="validate" ng-model="attemptedPassword">
          <label for="password" required>Password</label>
        </div>
      </div>
      <br>
      <p>(Don't have an account? <a ng-show="!isLoggedIn()" ng-click="showSignup()"><strong>Sign up!</strong></a>)</p>
      <br>
      <div class="row">
        <input type="submit" class="waves-effect waves-light btn">
        
        <p class="error-msg" ng-show="showUnauthMsg">Sorry, those credentials were not recognized.</p>
        <br>
      </div>
    </form>
  </div>

  <!--Sign Up Form-->

  <div class="container" ng-hide="signin">

  <h3>Sign Up</h3>
    <div class="row">
      <form class="col s12" ng-submit="attemptSignup()">
      
        <div class="row">
          <div class="input-field col s6">
            <input id="firstname" type="text" class="validate" ng-model="attemptedFirstName" required>
            <label for="first_name">First Name</label>
          </div>
        </div>
        <div class="row">
          <div class="input-field col s6">
            <input id="lastname" type="text" class="validate" ng-model="attemptedLastName" required>
            <label for="last_name">Last Name</label>
          </div>
        </div>
        <div class="row"><commit_msg>(feat) Add signup with Facebook link to signup page<commit_after><script type="text/javascript">
  $( document ).ready(function(){ 
    $('.modal-trigger').leanModal( {dismissible: true} );
  });
</script>

<div ng-controller="AuthController">

  <!-- Signin Form -->
  <div class="container" ng-show="signin">
    <h3>Sign In</h3>
    <form ng-submit="attemptLogin()">
      <div class="row">
        <div class="input-field col s6">
          <input id="username" type="text" class="validate" ng-model="attemptedUsername">
          <label for="user_name" required>Username</label>
        </div>
      </div>
      <div class="row">
        <div class="input-field col s6">
          <input id="password" type="password" class="validate" ng-model="attemptedPassword">
          <label for="password" required>Password</label>
        </div>
      </div>
      <br>
      <p>(Don't have an account? <a ng-show="!isLoggedIn()" ng-click="showSignup()"><strong>Sign up!</strong></a> Or <a href="/auth/facebook"><strong>Sign up using Facebook</strong></a>)</p>
      <br>
      <div class="row">
        <input type="submit" class="waves-effect waves-light btn">
        
        <p class="error-msg" ng-show="showUnauthMsg">Sorry, those credentials were not recognized.</p>
        <br>
      </div>
    </form>
  </div>

  <!--Sign Up Form-->

  <div class="container" ng-hide="signin">

  <h3>Sign Up</h3>
    <div class="row">
      <form class="col s12" ng-submit="attemptSignup()">
      
        <div class="row">
          <div class="input-field col s6">
            <input id="firstname" type="text" class="validate" ng-model="attemptedFirstName" required>
            <label for="first_name">First Name</label>
          </div>
        </div>
        <div class="row">
          <div class="input-field col s6">
            <input id="lastname" type="text" class="validate" ng-model="attemptedLastName" required>
            <label for="last_name">Last Name</label>
          </div>
        </div>
        <div class="row">
{'fraction_non_alphanumeric': 0.18234699038947902, 'fraction_numerical': 0.005058168942842691, 'mean_word_length': 2.658649398704903, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7571673', 'n_tokens_mistral': 1257, 'n_tokens_neox': 1222, 'n_words': 273}