<commit_before>﻿@using Tigwi.UI.Models.Account
@model Tigwi.UI.Models.Account.AccountEditViewModel

<div class="modal-header modal-header-edit-account">
    <button class="close" data-dismiss="modal">×</button>
    <h3>Edit your Account</h3>
</div>
<script>
    
</script>

@using (Html.BeginForm("Edit", "Account", FormMethod.Post,null))
{    
    <div class="modal-body">
        @Html.ValidationSummary()
        <div class="control-group">
            @Html.LabelFor(m => m.Description)
            @Html.EditorFor(m => m.Description)
            @Html.ValidationMessageFor(m => m.Description)
        </div>
        <div class="control-group">
            @Html.HiddenFor(m => m.AccountId)
            @Html.HiddenFor(m => m.ReturnController)
            @Html.HiddenFor(m => m.ReturnAction)
        </div>

        <label for="addAAUser">Add another user</label>
        <input type="text" class="text-box single-line" id="addUser"/>
        <input type="hidden" name="editAcc2" id="isEdit"/>
        <button type="button" class="btn" data-url="@Url.Action("UserExists","User")" id="addUserButton"> add user</button>
        <div id="error-user-doesnt-exists"></div>
        <h5>Current users in the account</h5>
        <div id="userAdded"></div>

    </div>
    
    
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">Close</a>
        <button class="btn btn-primary" type="submit" id="submitEditAccountModalButton">Save your Changes !</button>
    </div>
}<commit_msg>Change message for adding user into account<commit_after>﻿@using Tigwi.UI.Models.Account
@model Tigwi.UI.Models.Account.AccountEditViewModel

<div class="modal-header modal-header-edit-account">
    <button class="close" data-dismiss="modal">×</button>
    <h3>Edit your Account</h3>
</div>
<script>
    
</script>

@using (Html.BeginForm("Edit", "Account", FormMethod.Post,null))
{    
    <div class="modal-body">
        @Html.ValidationSummary()
        <div class="control-group">
            @Html.LabelFor(m => m.Description)
            @Html.EditorFor(m => m.Description)
            @Html.ValidationMessageFor(m => m.Description)
        </div>
        <div class="control-group">
            @Html.HiddenFor(m => m.AccountId)
            @Html.HiddenFor(m => m.ReturnController)
            @Html.HiddenFor(m => m.ReturnAction)
        </div>

        <label for="addAAUser">Advanced Settings : Allow other users to use this account</label>
        <input type="text" class="text-box single-line" id="addUser"/>
        <input type="hidden" name="editAcc2" id="isEdit"/>
        <button type="button" class="btn" data-url="@Url.Action("UserExists","User")" id="addUserButton"> add user</button>
        <div id="error-user-doesnt-exists"></div>
        <h5>Current users in the account</h5>
        <div id="userAdded"></div>

    </div>
    
    
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">Close</a>
        <button class="btn btn-primary" type="submit" id="submitEditAccountModalButton">Save your Changes !</button>
    </div>
}
{'fraction_non_alphanumeric': 0.17038473973488522, 'fraction_numerical': 0.0032331070158422245, 'mean_word_length': 2.9871134020618557, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 79, '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': '7314947', 'n_tokens_mistral': 969, 'n_tokens_neox': 954, 'n_words': 184}