<commit_before>{% extends "PROCERGSLoginCidadaoCoreBundle::base.loggedIn.html.twig" %}

{% block body %}


        <h1 class='text-center' style="margin-bottom:30px;">Crie seu Login Cidadão </h1>


        <div id='register-aside' class="col-md-7 col-lg-6">
            <h4>Com apenas um cadastro</h4>
            <p>Acesso a todos serviços oferecidos pelo Governo do Estado.</p>
            {% image '@PROCERGSLoginCidadaoCoreBundle/Resources/public/images/logo_strip_2x.png' %}
            <img src="{{ asset_url }}" alt="{%trans%}Available services{%endtrans%}" style="margin-bottom: 80px;">
            {% endimage %}
            <h4>Facilidade de Acesso</h4>
            <p>Apenas com senha e CPF. Tornando muito mais simples o acesso aos serviços.</p>
            {% image '@PROCERGSLoginCidadaoCoreBundle/Resources/public/images/logo_ng.png' %}
            <img src="{{ asset_url }}" alt="{%trans%}Logo Nota Fiscal Gaúcha{%endtrans%}">
            {% endimage %}
        </div>

        <div id="sign-up" class='col-md-4 col-md-offset-1 col-lg-5 col-lg-offset-1'>
            {% for type, messages in app.session.flashbag.all() %}
                {% for message in messages %}
                    <div class="flash-{{ type }}">
                        {{ message }}
                    </div>
                {% endfor %}
            {% endfor %}

            {% trans_default_domain 'FOSUserBundle' %}

            <form role="form" action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST" class="fos_user_registration_register">
                {{ form_widget(form) }}
                <div>
                    <input class='btn btn-success btn-sm pull-right' type="submit" value="{{ 'registration.submit'|trans }}" />
                </div>
            </form>
        </div>







{% endblock %}<commit_msg>Form register, Rendering each Field by Hand<commit_after>{% extends "PROCERGSLoginCidadaoCoreBundle::base.loggedIn.html.twig" %}

{% block body %}


        <h1 class='text-center' style="margin-bottom:30px;">Crie seu Login Cidadão </h1>


        <div id='register-aside' class="col-md-7 col-lg-6">
            <h4>Com apenas um cadastro</h4>
            <p>Acesso a todos serviços oferecidos pelo Governo do Estado.</p>
            {% image '@PROCERGSLoginCidadaoCoreBundle/Resources/public/images/logo_strip_2x.png' %}
            <img src="{{ asset_url }}" alt="{%trans%}Available services{%endtrans%}" style="margin-bottom: 80px;">
            {% endimage %}
            <h4>Facilidade de Acesso</h4>
            <p>Apenas com senha e CPF. Tornando muito mais simples o acesso aos serviços.</p>
            {% image '@PROCERGSLoginCidadaoCoreBundle/Resources/public/images/logo_ng.png' %}
            <img src="{{ asset_url }}" alt="{%trans%}Logo Nota Fiscal Gaúcha{%endtrans%}">
            {% endimage %}
        </div>

        <div id="sign-up" class='col-md-4 col-md-offset-1 col-lg-5 col-lg-offset-1'>
            {% for type, messages in app.session.flashbag.all() %}
                {% for message in messages %}
                    <div class="flash-{{ type }}">
                        {{ message }}
                    </div>
                {% endfor %}
            {% endfor %}

            {% trans_default_domain 'FOSUserBundle' %}

            {{ form_start(form, {'attr': {'role':'form', 'class':'fos_user_registration_register'}}) }}
                {{ form_errors(form) }}
            
                <div class="form-group">
                    {{ form_label(form.email) }}
                    {{ form_errors(form.email) }}
                    {{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.username) }}
                    {{ form_errors(form.username) }}
                    {{ form_widget(form.username, {'attr': {'class': 'form-control'}}) }}
                </div>
                <div class="form-group">
                    {{ form_errors(form.plainPassword) }}
                    {{ form_widget(form.plainPassword) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.firstName) }}
                    {{ form_errors(form.firstName) }}
                    {{ form_widget(form.firstName, {'attr': {'class': 'form-control'}}) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.surname) }}
                    {{ form_errors(form.surname) }}
                    {{ form_widget(form.surname, {'attr': {'class': 'form-control'}}) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.birthdate) }}
                    {{ form_errors(form.birthdate) }}
                    {{ form_widget(form.birthdate) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.cep) }}
                    {{ form_errors(form.cep) }}
                    {{ form_widget(form.cep, {'attr': {'class': 'form-control'}}) }}
                </div>
                <div class="form-group">
                    {{ form_label(form.cpf) }}
                    {{ form_errors(form.cpf) }}
                    {{ form_widget(form.cpf, {'attr': {'class': 'form-control'}}) }}
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-5">
                        <input class='btn btn-default btn-green' type="submit" value="{{ 'registration.submit'|trans }}" />
                    </div>
                </div>
            {{ form_end(form) }}

        </div>

{% endblock %}
{'fraction_non_alphanumeric': 0.15828092243186584, 'fraction_numerical': 0.006289308176100629, 'mean_word_length': 1.6814988290398127, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '5398940', 'n_tokens_mistral': 1794, 'n_tokens_neox': 1623, 'n_words': 294}