<commit_before>﻿@model LoginOrRegisterViewModel

@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, 
    new { @class="form-signin", @role="form"}))
{
    <div class="form-group">
        @Html.ValidationSummary(true)
    </div>

    <h2 class="form-signin-heading dark">Meld u alstublieft aan</h2>

    @Html.LabelFor(vm => vm.Login.UserName, new { @class="sr-only" })
    @Html.TextBoxFor(vm => vm.Login.UserName, 
        new { @class = "form-control", @type="email", @placeholder = "Gebruikersnaam of e-mailadres" })
    @Html.LabelFor(vm => vm.Login.Password, new { @class="sr-only" })
    @Html.PasswordFor(vm => vm.Login.Password, 
        new { @class = "form-control", @placeholder = "<PASSWORD>" })

    <div class="checkbox dark">
      <label class="pull-left">
         @Html.CheckBoxFor(vm => vm.Login.RememberMe)
            Onthoud mij.
      </label>
      @Html.ActionLink("Wachtwoord vergeten?", "LostPassword", null, new { @class = "pull-right" })
    <br/>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit">Inloggen</button>

    if(ViewData.ModelState.ContainsKey("registration"))<commit_msg>Remove wrong type for username and e-mail field<commit_after>﻿@model LoginOrRegisterViewModel

@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, 
    new { @class="form-signin", @role="form"}))
{
    <div class="form-group">
        @Html.ValidationSummary(true)
    </div>

    <h2 class="form-signin-heading dark">Meld u alstublieft aan</h2>

    @Html.LabelFor(vm => vm.Login.UserName, new { @class="sr-only" })
    @Html.TextBoxFor(vm => vm.Login.UserName, 
        new { @class = "form-control", @placeholder = "Gebruikersnaam of e-mailadres" })
    @Html.LabelFor(vm => vm.Login.Password, new { @class="sr-only" })
    @Html.PasswordFor(vm => vm.Login.Password, 
        new { @class = "form-control", @placeholder = "<PASSWORD>" })

    <div class="checkbox dark">
      <label class="pull-left">
         @Html.CheckBoxFor(vm => vm.Login.RememberMe)
            Onthoud mij.
      </label>
      @Html.ActionLink("Wachtwoord vergeten?", "LostPassword", null, new { @class = "pull-right" })
    <br/>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit">Inloggen</button>

    if(ViewData.ModelState.ContainsKey("registration"))
{'fraction_non_alphanumeric': 0.17507294706127552, 'fraction_numerical': 0.0016673614005835765, 'mean_word_length': 3.49438202247191, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 37, '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': '5706189', 'n_tokens_mistral': 817, 'n_tokens_neox': 794, 'n_words': 151}