<commit_before><page-header [identity]="identity"
             tab="MANAGE_ROLES"
             [messages]="globalMessages"
             [giveAuthorisationsEnabled]="giveAuthorisationsEnabled"></page-header>

<form [formGroup]="form">

    <div class="panel panel-default">
        <div class="panel-heading">
            <h4>Select a role</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Role type*</h4>
                    <select class="form-control" [formControl]="form.controls['roleType']" #t (change)="onRoleTypeChange(t.value)">
                        <option value="-" disabled hidden>Please Choose...</option>
                        <option *ngFor="let roleTypeRef of roleTypeRefs" value={{roleTypeRef.value.code}}>{{roleTypeRef.value.shortDecodeText}}</option>
                    </select>
                    <br/>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default" *ngIf="form.controls['roleType'].value !== '-'">
        <div class="panel-heading">
            <h4>Online software provider agencies services</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Access to government agencies services</h4>
                    <div class="checkbox" *ngFor="let attributeUsage of agencyServiceRoleAttributeNameUsages">
                        <label>
                            <input type="checkbox" (change)="onAgencyServiceChange(attributeUsage.attributeNameDef.value.code)"> {{attributeUsage.attributeNameDef.value.shortDecodeText}}
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default" *ngIf="form.controls['roleType'].value !== '-'">
        <div class="panel-heading">
            <h4>Online software provider preferences</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Preferred Name</h4>
                    <input type="text" class="form-control" placeholder="" [formControl]="form.controls['preferredName']"/>
                    <br/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Assign credentials for software provider services</h4>
                    <table class="table">
                        <thead>
                            <tr>
                                <th><h4>Role</h4></th>
                                <th class="col-md-2"><h4><input type="checkbox"></h4></th>
                            </tr>
                        </thead><commit_msg>RAM-4 Minor<commit_after><page-header [identity]="identity"
             tab="MANAGE_ROLES"
             [messages]="globalMessages"
             [giveAuthorisationsEnabled]="giveAuthorisationsEnabled"></page-header>

<form [formGroup]="form">

    <div class="panel panel-default">
        <div class="panel-heading">
            <h4>Select a role</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Role type*</h4>
                    <select class="form-control" [formControl]="form.controls['roleType']" #t (change)="onRoleTypeChange(t.value)">
                        <option value="-" disabled hidden>Please Choose...</option>
                        <option *ngFor="let roleTypeRef of roleTypeRefs" value={{roleTypeRef.value.code}}>{{roleTypeRef.value.shortDecodeText}}</option>
                    </select>
                    <br/>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default" *ngIf="form.controls['roleType'].value !== '-'">
        <div class="panel-heading">
            <h4>Online software provider agencies services</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Access to government agencies services</h4>
                    <div class="checkbox" *ngFor="let attributeUsage of agencyServiceRoleAttributeNameUsages">
                        <label>
                            <input type="checkbox" (change)="onAgencyServiceChange(attributeUsage.attributeNameDef.value.code)"> {{attributeUsage.attributeNameDef.value.shortDecodeText}}
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default" *ngIf="form.controls['roleType'].value !== '-'">
        <div class="panel-heading">
            <h4>Online software provider preferences</h4>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Preferred Name</h4>
                    <input type="text" class="form-control" placeholder="" [formControl]="form.controls['preferredName']"/>
                    <br/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-12">
                    <h4>Assign credentials for software provider services</h4>
                    <table class="table">
                        <thead>
                            <tr>
                                <th><h4>Credential</h4></th>
                                <th class="col-md-2"><h4><input type="checkbox"></h4></th>
                            </tr>
                        </thead>
{'fraction_non_alphanumeric': 0.1475095785440613, 'fraction_numerical': 0.009578544061302681, 'mean_word_length': 1.5243956043956044, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 153, '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': '5561684', 'n_tokens_mistral': 1569, 'n_tokens_neox': 1479, 'n_words': 266}