<commit_before>{#
 # This file is part of the OpenMiamMiam project.
 # (c) Isics <<EMAIL>>
 #
 # This source file is subject to the AGPL v3 license that is bundled
 # with this source code in the file LICENSE.
 #}
{% extends "IsicsOpenMiamMiamBundle::minimal.html.twig" %}

{% form_theme form _self 'IsicsOpenMiamMiamBundle::form.html.twig' %}

{% block content %}
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h1 class="panel-title">{{ 'user.register.title'|trans }}</h1>
                </div>
                <div class="panel-body">
                    {{ form_start(form) }}
                        <div class="row">
                            <div class="col-md-6">
                                {{ form_row(form.firstname, {'label': 'user.register.firstname', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                            <div class="col-md-6">
                                {{ form_row(form.lastname, {'label': 'user.register.lastname', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                        </div>
                        {{ form_row(form.email, {'label': 'user.register.email', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                        <div class="row">
                            <div class="col-md-6">
                                {{ form_row(form.plainPassword.first, {'label': 'user.register.password', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                            <div class="col-md-6">
                                {{ form_row(form.plainPassword.second, {'label': 'user.register.password_confirmation', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                        </div>
                        {{ form_row(form.address1, {'label': 'user.register.address1', 'label_as_placeholder': true}) }}
                        {{ form_row(form.address2, {'label': 'user.register.address2', 'label_as_placeholder': true}) }}
                        <div class="row">
                            <div class="col-md-4">
                                {{ form_row(form.zipcode, {'label': 'user.register.zipcode', 'label_as_placeholder': true}) }}
                            </div>
                            <div class="col-md-8">
                                {{ form_row(form.city, {'label': 'user.register.city', 'label_as_placeholder': true}) }}
                            </div>
                        </div>
                        {{ form_row(form.phoneNumber, {'label': 'user.register.phone_number', 'label_as_placeholder': true}) }}

                        {{ form_row(form.isOrdersOpenNotificationSubscriber, {'label': 'user.register.is_orders_open_notification_subscriber'}) }}
                        {{ form_row(form.isNewsletterSubscriber, {'label': 'user.register.is_newsletter_subscriber'}) }}
                    </div>
                    <div class="panel-footer text-right">
                        <a href="{{ path('open_miam_miam.homepage') }}" class="btn btn-default btn-lg">
                            {{ 'user.register.cancel'|trans }}
                        </a>
                        <button type="submit" class="btn btn-primary btn-lg">
                            <span class="glyphicon glyphicon-circle-arrow-right"></span>
                            {{ 'user.register.submit'|trans }}
                        </button>
                    </div>
                </div>
            {{ form_end(form) }}
        </div>
    </div>
{% endblock content %}<commit_msg>Fix review<commit_after>{#
 # This file is part of the OpenMiamMiam project.
 # (c) Isics <<EMAIL>>
 #
 # This source file is subject to the AGPL v3 license that is bundled
 # with this source code in the file LICENSE.
 #}
{% extends "IsicsOpenMiamMiamBundle::minimal.html.twig" %}

{% form_theme form _self 'IsicsOpenMiamMiamBundle::form.html.twig' %}

{% block content %}
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h1 class="panel-title">{{ 'user.register.title'|trans }}</h1>
                </div>
                <div class="panel-body">
                    {{ form_start(form) }}
                        <div class="row">
                            <div class="col-md-6">
                                {{ form_row(form.firstname, {'label': 'user.register.firstname', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                            <div class="col-md-6">
                                {{ form_row(form.lastname, {'label': 'user.register.lastname', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                        </div>
                        {{ form_row(form.email, {'label': 'user.register.email', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                        <div class="row">
                            <div class="col-md-6">
                                {{ form_row(form.plainPassword.first, {'label': 'user.register.password', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                            <div class="col-md-6">
                                {{ form_row(form.plainPassword.second, {'label': 'user.register.password_confirmation', 'label_as_placeholder': true, 'attr': {'class': 'input-lg'}}) }}
                            </div>
                        </div>
                        {{ form_row(form.address1, {'label': 'user.register.address1', 'label_as_placeholder': true}) }}
                        {{ form_row(form.address2, {'label': 'user.register.address2', 'label_as_placeholder': true}) }}
                        <div class="row">
                            <div class="col-md-4">
                                {{ form_row(form.zipcode, {'label': 'user.register.zipcode', 'label_as_placeholder': true}) }}
                            </div>
                            <div class="col-md-8">
                                {{ form_row(form.city, {'label': 'user.register.city', 'label_as_placeholder': true}) }}
                            </div>
                        </div>
                        {{ form_row(form.phoneNumber, {'label': 'user.register.phone_number', 'label_as_placeholder': true}) }}
                        {{ form_row(form.isOrdersOpenNotificationSubscriber, {'label': 'user.register.is_orders_open_notification_subscriber'}) }}
                        {{ form_row(form.isNewsletterSubscriber, {'label': 'user.register.is_newsletter_subscriber'}) }}
                    </div>
                    <div class="panel-footer text-right">
                        <a href="{{ path('open_miam_miam.homepage') }}" class="btn btn-default btn-lg">
                            {{ 'user.register.cancel'|trans }}
                        </a>
                        <button type="submit" class="btn btn-primary btn-lg">
                            <span class="glyphicon glyphicon-circle-arrow-right"></span>
                            {{ 'user.register.submit'|trans }}
                        </button>
                    </div>
                </div>
            {{ form_end(form) }}
        </div>
    </div>
{% endblock content %}
{'fraction_non_alphanumeric': 0.15340613624544983, 'fraction_numerical': 0.0039001560062402497, 'mean_word_length': 1.4744290768735928, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5329760', 'n_tokens_mistral': 2097, 'n_tokens_neox': 2009, 'n_words': 373}