<commit_before>{%extends "NSSentinelBundle::layout.html.twig" %}

{% block body %}
{{form_errors(form)}}
<div class="row">
    <div class="col-sm-8" >
        <form action="{{path('userProfile')}}" method="POST" autocomplete="off">
            <div class="profile-user-info profile-user-info-striped">
                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Name'|trans}} </div>
                    <div class="profile-info-value">
                        {{form_widget(form.name)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Email'|trans}} </div>
                    <div class="profile-info-value">
                        {{form_widget(form.email)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> </div>
                    <div class="profile-info-value">
                        {{form_widget(form.plainPassword)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> </div>
                    <div class="profile-info-value">
                        {{form_widget(form.language)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Is Admin'|trans}} </div>
                    <div class="profile-info-value">
                        <i class="{%if user.isAdmin%}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i>
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Create Rights'|trans}} </div>
                    <div class="profile-info-value">
                        <span><i class="{%if user.canCreateCases %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'Case'|trans}}</span>
                        <span><i class="{%if user.canCreateLabs %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'Labs'|trans}}</span>
                        <span><i class="{%if user.canCreateRRLLabs %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'RRL Labs'|trans}}</span>
                        <span><i class="{%if user.canCreateNLLabs %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'NL Labs'|trans}}</span>
                    </div>
                </div>
            </div>

            {{form_rest(form)}}

            <div class="form-actions center">
                <button type="submit" class="btn btn-sm btn-success">{{'Save'|trans}}<i class="icon-arrow-right icon-on-right bigger-110"></i></button>
            </div>    
        </form>
    </div>
</div>
{% endblock %}<commit_msg>there are no NL/RRL labs now<commit_after>{%extends "NSSentinelBundle::layout.html.twig" %}

{% block body %}
{{form_errors(form)}}
<div class="row">
    <div class="col-sm-8" >
        <form action="{{path('userProfile')}}" method="POST" autocomplete="off">
            <div class="profile-user-info profile-user-info-striped">
                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Name'|trans}} </div>
                    <div class="profile-info-value">
                        {{form_widget(form.name)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Email'|trans}} </div>
                    <div class="profile-info-value">
                        {{form_widget(form.email)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> </div>
                    <div class="profile-info-value">
                        {{form_widget(form.plainPassword)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> </div>
                    <div class="profile-info-value">
                        {{form_widget(form.language)}}
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Is Admin'|trans}} </div>
                    <div class="profile-info-value">
                        <i class="{%if user.isAdmin%}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i>
                    </div>
                </div>

                <div class="profile-info-row">
                    <div class="profile-info-name"> {{'Create Rights'|trans}} </div>
                    <div class="profile-info-value">
                        <span><i class="{%if user.canCreateCases %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'Case'|trans}}</span>
                        <span><i class="{%if user.canCreateLabs %}icon-check{%else%}icon-check-empty{%endif%} bigger-110"></i> {{'Labs'|trans}}</span>
                    </div>
                </div>
            </div>

            {{form_rest(form)}}

            <div class="form-actions center">
                <button type="submit" class="btn btn-sm btn-success">{{'Save'|trans}}<i class="icon-arrow-right icon-on-right bigger-110"></i></button>
            </div>    
        </form>
    </div>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.18026292094363408, 'fraction_numerical': 0.005762650819376914, 'mean_word_length': 1.537231612608497, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '3520681', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1511, 'n_words': 247}