<h2 class="h3">{{ 'sylius.ui.personal_information'|trans }}</h2>

<div class="row">
    <div class="col-md">
        {{ form_row(form.firstName, sylius_test_form_attribute('first-name')) }}
    </div>

    <div class="col-md">
        {{ form_row(form.lastName, sylius_test_form_attribute('last-name')) }}
    </div>
</div>
<div class="row">
    <div class="col-md">
        {{ form_row(form.email, sylius_test_form_attribute('email')) }}
    </div>

    <div class="col-md">
        {{ form_row(form.phoneNumber, sylius_test_form_attribute('phone-number')) }}
    </div>
</div>

{{ form_row(form.subscribedToNewsletter, {'label_attr': {'class':'custom-switch'}}) }}

<hr>

<h2 class="h3">{{ 'sylius.ui.account_credentials'|trans }}</h2>

<div class="row">
    <div class="col-md">
        {{ form_row(form.user.plainPassword.first, sylius_test_form_attribute('password-first')) }}
    </div>

    <div class="col-md">
        {{ form_row(form.user.plainPassword.second, sylius_test_form_attribute('password-second')) }}
    </div>
</div>
