<commit_before>{% extends "XvolutionsAdminBundle:template:backoffice.html.twig" %}

{% block title %}{{title|trans}} - Grupos - Backoffice{% endblock %}

{% block username %}{{ username }}{% endblock %}
{% block maincontent %}
    <h1>{{ title|trans }}</h1>
    {% if status %}
        <div class="alert alert-success alert-dismissable">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            {{ status|trans }}
        </div>
    {% endif %}
    {% if error %}
        <div class="alert alert-danger alert-dismissable">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            {{ error|trans|raw }}
        </div>
    {% endif %}

    {{ form_start( form ) }}
    <div id="xvolutions_adminbundle_role"><div>
            <p>{{ "Nome do grupo"|trans }}</p>
            <p>{{ form_widget( form.name ) }}</p>
        </div>
        <div>
            <p>{{ "papel"|trans }}</p>
            <p>{{ form_widget( form.role ) }}
        </div>
        <br>
            {{ form_end( form ) }}
            <a href="{{path('roles')}}" class="btn btn-default btn-sm">{{ "Ver Grupos"|trans }}</a>
    </div>
</form>
{% endblock %}<commit_msg>- Renamed from papel to Papel - Added the default value of "ROLE_"<commit_after>{% extends "XvolutionsAdminBundle:template:backoffice.html.twig" %}

{% block title %}{{title|trans}} - Grupos - Backoffice{% endblock %}

{% block username %}{{ username }}{% endblock %}
{% block maincontent %}
    <h1>{{ title|trans }}</h1>
    {% if status %}
        <div class="alert alert-success alert-dismissable">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            {{ status|trans }}
        </div>
    {% endif %}
    {% if error %}
        <div class="alert alert-danger alert-dismissable">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            {{ error|trans|raw }}
        </div>
    {% endif %}

    {{ form_start( form ) }}
    <div id="xvolutions_adminbundle_role"><div>
            <p>{{ "Nome do grupo"|trans }}</p>
            <p>{{ form_widget( form.name ) }}</p>
        </div>
        <div>
            <p>{{ "Papel"|trans }}</p>
            <p>{{ form_widget( form.role, {value : 'ROLE_'} ) }}
        </div>
        <br>
            {{ form_end( form ) }}
            <a href="{{path('roles')}}" class="btn btn-default btn-sm">{{ "Ver Grupos"|trans }}</a>
    </div>
</form>
{% endblock %}
{'fraction_non_alphanumeric': 0.20217729393468117, 'fraction_numerical': 0.0015552099533437014, 'mean_word_length': 2.4583333333333335, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '3958716', 'n_tokens_mistral': 874, 'n_tokens_neox': 804, 'n_words': 177}