{% extends 'standard_tpl.html.twig' %}
{% set content = {'title':'Sign up'} %}
{% block page_banner 'minimal' %}
{% block content %}
<!-- Register -->
<section class="login-wrapper">
<div class="container">
<div class="row d-flex justify-content-center">
<div class="col-lg-4">
<h2 class="checkout-form-title text-center">Create Account</h2>
<p class="text-center">All fields are require.</p>
{{ form_start(form, {'attr':{'class':'form-style'}}) }}
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="d-none" for="firstname">First Name</label>
{{ form_widget(form.firstname )}}
{{ flash_form_errors(form.firstname) }}
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label class="d-none" for="lastname">Last Name</label>
{{ form_widget(form.lastname )}}
{{ flash_form_errors(form.lastname) }}
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label class="d-none" for="email">Email</label>
{{ form_widget(form.email )}}
{{ flash_form_errors(form.email) }}
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label class="d-none" for="passowrd">Passowrd</label>
{{ form_widget(form.plainPassword )}}
{{ flash_form_errors(form.plainPassword) }}
</div>
</div>
<div class="col-sm-12">
<div class="form-check mt-3 checkout-form-check p-0">
{{ form_widget(form.agreeTerms) }}
<label class="form-check-label" for="flexCheckDefault2">
I have read and agree to the terms & conditions
</label>
</div>
</div>
<div class="col-sm-12">
<div class="mt-4 checkout-btn-list">
<button type="submit" class="btn btn-teritary-fast w-100">Sign Up</button>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</section>
<!-- Register -->
{% endblock %}