<commit_before>﻿@model Xekina.ViewModels.UserDefaultsViewModel

@{
    ViewBag.Title = "Edit Defaults";
}

<h2>Edit</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    
    <div class="form-horizontal">
        <h4>UserDefaults</h4>
        <hr />
        @Html.ValidationSummary(true, "", new { @class = "text-danger" })
        @Html.HiddenFor(model => model.UserId)

        <div class="form-group">
            @Html.LabelFor(model => model.CreateVSTSProject, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateVSTSProject)
                    @Html.ValidationMessageFor(model => model.CreateVSTSProject, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateDevTestLab, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateDevTestLab)
                    @Html.ValidationMessageFor(model => model.CreateDevTestLab, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateEnvironments, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateEnvironments)
                    @Html.ValidationMessageFor(model => model.CreateEnvironments, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateBuildAndReleaseProcess, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateBuildAndReleaseProcess)
                    @Html.ValidationMessageFor(model => model.CreateBuildAndReleaseProcess, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CommitSampleProject, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CommitSampleProject)
                    @Html.ValidationMessageFor(model => model.CommitSampleProject, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>
        <hr />
        <div class="form-group">
            @Html.LabelFor(model => model.ResourceGroupLocation, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.DropDownListFor(model => model.ResourceGroupLocation, Model.ResourceGroupLocationSelectList, "-- Location --", new { @class = "form-control" })
            </div>
        </div>
       <hr/>
        <div class="form-group">
            @Html.LabelFor(model => model.GitHubPersonalAccessToken, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.GitHubPersonalAccessToken, new { htmlAttributes = new { @class = "form-control" } })
                @Html.ValidationMessageFor(model => model.GitHubPersonalAccessToken, "", new { @class = "text-danger" })
            </div>
        </div><commit_msg>make github personal access token as password field<commit_after>﻿@model Xekina.ViewModels.UserDefaultsViewModel

@{
    ViewBag.Title = "Edit Defaults";
}

<h2>Edit</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    
    <div class="form-horizontal">
        <h4>UserDefaults</h4>
        <hr />
        @Html.ValidationSummary(true, "", new { @class = "text-danger" })
        @Html.HiddenFor(model => model.UserId)

        <div class="form-group">
            @Html.LabelFor(model => model.CreateVSTSProject, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateVSTSProject)
                    @Html.ValidationMessageFor(model => model.CreateVSTSProject, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateDevTestLab, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateDevTestLab)
                    @Html.ValidationMessageFor(model => model.CreateDevTestLab, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateEnvironments, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateEnvironments)
                    @Html.ValidationMessageFor(model => model.CreateEnvironments, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CreateBuildAndReleaseProcess, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CreateBuildAndReleaseProcess)
                    @Html.ValidationMessageFor(model => model.CreateBuildAndReleaseProcess, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CommitSampleProject, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                <div class="checkbox">
                    @Html.EditorFor(model => model.CommitSampleProject)
                    @Html.ValidationMessageFor(model => model.CommitSampleProject, "", new { @class = "text-danger" })
                </div>
            </div>
        </div>
        <hr />
        <div class="form-group">
            @Html.LabelFor(model => model.ResourceGroupLocation, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.DropDownListFor(model => model.ResourceGroupLocation, Model.ResourceGroupLocationSelectList, "-- Location --", new { @class = "form-control" })
            </div>
        </div>
       <hr/>
        <div class="form-group">
            @Html.LabelFor(model => model.GitHubPersonalAccessToken, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.GitHubPersonalAccessToken, new { htmlAttributes = new { @class = "form-control", type = "password" } })
                @Html.ValidationMessageFor(model => model.GitHubPersonalAccessToken, "", new { @class = "text-danger" })
            </div>
        </div>
{'fraction_non_alphanumeric': 0.14976557267247154, 'fraction_numerical': 0.006697923643670462, 'mean_word_length': 1.9971898835808912, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 137, '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': '7241983', 'n_tokens_mistral': 2187, 'n_tokens_neox': 2071, 'n_words': 370}