{% extends 'layout.html.twig' %}
{% block title %}{{ 'user.new_account'|trans|raw }}{% endblock %}
{% block page_contents %}
<div class="contentPage">
<div class="editItems2">
<table class="contentHeader">
<tr>
<td valign="top">
{% if app.request.get('addService') is defined and app.request.get('addService') == 1 %}
{% set newAccountTitle = 'eshop.new_eshop'|trans %}
{% elseif app.request.get('addService') is defined and app.request.get('addService') == 2 %}
{% set newAccountTitle = 'service.knowledgebase_new'|trans %}
{% elseif app.request.get('addService') is defined and app.request.get('addService') == 3 %}
{% set newAccountTitle = 'webpages.new_web'|trans %}
{% elseif app.request.get('addService') is defined and app.request.get('addService') == 5 %}
{% set newAccountTitle = 'service.services3d_new'|trans %}
{% elseif app.request.get('addService') is defined and app.request.get('addService') == 7 %}
{% set newAccountTitle = 'connector.new_connector'|trans %}
{% else %}
{% set newAccountTitle = 'user.new_account'|trans %}
{% endif %}
<h1>{{ newAccountTitle }}</h1>
<div class="contentOffer">{{ 'user.new_account_description'|trans|raw }}</div>
</td>
</tr>
</table>
{{ form_start(form) }}
{# <br>apiKey: {{ app.session.get('server').googleApiKey }} #}
{% if app.session.get('server').googleApiKey and app.session.get('server').googleApiKey != '' %}
<div class="g-recaptcha" data-sitekey="{{ app.session.get('server').googleApiKey }}"></div>
{% endif %}
{{ form_widget(form) }}
{{ form_end(form) }}
</div>
</div>
{% endblock %}