{% block stylesheet %}
<link rel="stylesheet" href="{{ asset('assets/global/vendor/select2/select2.css') }}">
<link rel="stylesheet" href="{{ asset('assets/examples/css/pages/register-v2.css') }}">
{% endblock %}
{% extends('base.html.twig') %}
{% block title %}Bienvenue{% endblock %}
{% block body %}
{% if entity is not null %}
<style>
.mobile-img-background {
background-image: url("{{asset('img/entity/')}}{{ entity.imageRegister }}") !important;
}
.page-register-v2:before {
background-image: url("{{asset('img/entity/')}}{{ entity.imageRegister }}") !important;
}
</style>
{% else %}
<style>
.mobile-img-background {
background-image: url("{{asset('assets/examples/images/login_custom.png')}}") !important;
}
</style>
{% endif %}
<body class="animsition page-register-v2 layout-full page-dark">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Page -->
<div class="page" data-animsition-in="fade-in" data-animsition-out="fade-out">
<div class="page-content">
<div class="page-brand-info">
<div class="brand">
{% if entity is null %}
<img class="brand-img" src="{{ asset('assets/images/logo_SIRENE_trans.png') }}" alt="logo_SIRENE">
{% endif %}
{% if entity is not null %}
{% if entity.name == 'FDC77' %}
<div class="row">
<div class="col-12">
<img src="{{ asset('img/entity/FDC77-leger.jpg') }}" alt="FDC77 logo" style="width: 10%">
<img src="{{ asset('img/entity/CD77-Logo-RVB.jpg') }}" alt="FDC77 logo" style="width: 10.6%">
</div>
</div>
{% endif %}
{% endif %}
<h2 id="title-register" class="brand-text font-size-40">
{% if entity is not null %}
{{ entity.titleRegister | raw}}
{% else %}
SIRENE<br> ENQUÊTES ENVIRONNEMENTALE
{% endif %}
</h2>
</div>
<p id="description-user-register">
{% if entity is not null %}
{{ entity.descriptionRegister | raw }}
{% else %}
Vous connaissez et aimez la nature. Rejoignez-nous pour participer à des enquêtes terrain environnementales.
{% endif %}
</p>
</div>
<!-- Mobile -->
<div class="page-register-main animation-slide-left animation-duration-1">
<div class="row" id="row-mobile">
<div class="container-fluid">
<div class="mobile-img-background">
<div class="brand hidden-md-up text-center" id="title-back-register-mobile">
<h3 class="brand-text font-size-40" id="title-register-mobile">
{% if entity is not null %}
{{ entity.titleRegister | raw}}
{% else %}
SIRENE<br> ENQUÊTES ENVIRONNEMENTALE
{% endif %}
</h3>
</div>
</div>
</div>
</div>
{# <h3 class="font-size-24">Bienvenue !</h3>#}
<p id="description-user-register-mobile">
{% if entity is not null %}
{{ entity.descriptionRegister | raw }}
{% else %}
Vous connaissez et aimez la nature. Rejoignez-nous pour participer à des enquêtes terrain environnementales.
{% endif %}
</p>
{% for message in app.flashes('captcha') %}
<div class="flash-notice">
{{ message }}
</div>
{% endfor %}
{{ include('/user/_form.html.twig') }}
</div>
</div>
</div>
<!-- End Page -->
{% endblock %}
{% block javascripts %}
<!-- Select 2 -->
<script src="{{ asset('assets/global/vendor/select2/select2.full.min.js') }}"></script>
<script src="{{ asset('assets/global/js/Plugin/select2.js') }}"></script>
{% endblock %}