{% extends "@frontend/base_layout_no_header.html.twig" %}
{% block specific_js %}
<script type="text/javascript">
var urlSchoolsAutocomplete = '{{path('schools_autocomplete')}}';
</script>
<script src="{{ versionedAsset('/bundles/frontend/js/public/register/register_common.js') }}" type="text/javascript"></script>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="register-container">
<div class="form-container">
<div class="register-title smart-green">
<h1>Registrierung Lehrperson</h1>
</div>
<form id="frmRegister" method="POST" action="{{ path('teacher_register_step_normal') }}">
{% include '@frontend/templates/validation_data.html.twig' %}
<div class="row">
<div class="col-md-12">
<div id="errorPanel" class="alert alert-danger alert-dismissible" role="alert" style="display: none;">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
<span id="alert-error-text">Bitte eine Schule auswählen</span>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="row">
{{ include( '@frontend/registration/template/login.html.twig') }}
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="row">
{{ include( '@frontend/registration/template/person.html.twig') }}
</div>
</div>
</div>
<div class="row marginTop20">
{{ include( '@frontend/registration/template/consent_school.html.twig') }}
</div>
<div class="row">
<div class="col-md-12 text-center">
<button id="btnSave" class="btn btn-default btn-flat btn-wide btn" name="save" type="submit">Jetzt registrieren</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}