{% extends 'base.html.twig' %} {% block title %}{{ pageTitle }}{% endblock %} {% block PageTitle %}{{ pageTitle }}{% endblock %} {% block body %} {{form_start(form)}} {{form_end(form)}} {% if not new %}

Contrat

{% if website.contrat %}
{% include "contrat/_display_contrat.html.twig" with { contrat: website.contrat ?? null, website: website, refRoute: 'addorupdate' } only %}
{% else %} {% endif %}

Accès Ftp

{% if website.ftp %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId:website.ftp.id, refId: website.id, name: 'le ftp', designation:'ftp', route:'ftp', editRoute: path('ftp.addorupdate', {id: website.ftp.id}) } only %}
{# host #} {% include "shared-components/_copy_input.html.twig" with { label: 'Hôte', name: 'host', type: 'text', value: website.ftp.host, designation: 'ftp' } only %} {# hostname #} {% include "shared-components/_copy_input.html.twig" with { label: 'Nom de l\'hôte', name: 'hostname', type: 'text', value: website.ftp.hostname, designation: 'ftp' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.ftp.password, designation: 'ftp' } only %}
{% else %} {% endif %}

Accès Back Office

{% if website.backOffice %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId: website.backOffice.id, refId: website.id, name: 'le backOffice', designation:'accès back-office', route:'back-office', editRoute: path('back-office.addorupdate', {id: website.backOffice.id}) } only %}
{# url #} {% include "shared-components/_copy_input.html.twig" with { label: 'Url', name: 'url', type: 'text', value: website.backOffice.url, designation: 'back-office' } only %} {# username #} {% include "shared-components/_copy_input.html.twig" with { label: 'Utilisateur', name: 'username', type: 'text', value: website.backOffice.username, designation: 'back-office' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.backOffice.password, designation: 'back-office' } only %}
{% else %} {% endif %}

Accès Bdd

{% if website.bdd %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId:website.bdd.id, refId: website.id, name: 'les accès bdd', designation:'accès bdd', route:'bdd', editRoute: path('bdd.addorupdate', {id: website.bdd.id}) } only %}
{# server #} {% include "shared-components/_copy_input.html.twig" with { label: 'Serveur', name: 'server', type: 'text', value: website.bdd.server, designation: 'bdd' } only %} {# dbName #} {% include "shared-components/_copy_input.html.twig" with { label: 'Nom de la bdd', name: 'db_name', type: 'text', value: website.bdd.dbName, designation: 'bdd' } only %} {# dbUser #} {% include "shared-components/_copy_input.html.twig" with { label: 'Utilisateur', name: 'db_user', type: 'text', value: website.bdd.dbUser, designation: 'bdd' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.bdd.password, designation: 'bdd' } only %}
{% else %} {% endif %}

Accès Hébergement

{% if website.hosting %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId: website.hosting.id, refId: website.id, name: 'l\'hébergement', designation:'accès hébergement', route:'hosting', editRoute: path('hosting.addorupdate', {id: website.hosting.id}) } only %}
{# name #} {% include "shared-components/_copy_input.html.twig" with { label: 'Hébergeur', name: 'name', type: 'text', value: website.hosting.name, designation: 'hosting' } only %} {# url #} {% include "shared-components/_copy_input.html.twig" with { label: 'Url', name: 'url', type: 'text', value: website.hosting.url, designation: 'hosting' } only %} {# username #} {% include "shared-components/_copy_input.html.twig" with { label: 'Utilisateur', name: 'username', type: 'text', value: website.hosting.username, designation: 'hosting' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.hosting.password, designation: 'hosting' } only %}
{% else %} {% endif %}

Accès Analytics

{% if website.analytics %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId: website.analytics.id, refId: website.id, name: 'analitycs', designation:'accès analytics', route:'analytics', editRoute: path('analytics.addorupdate', {id: website.analytics.id}) } only %}
{# username #} {% include "shared-components/_copy_input.html.twig" with { label: 'Utilisateur', name: 'username', type: 'text', value: website.analytics.username, designation: 'analytics' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.analytics.password, designation: 'analytics' } only %}
{% else %} {% endif %}

Accès Adwords

{% if website.adwords %}
{% include "shared-components/_edit_delete_toolsbar.html.twig" with { deleteId: website.adwords.id, refId: website.id, name: 'adwords', designation:'accès adwords', route:'adwords', editRoute: path('adwords.addorupdate', {id: website.adwords.id}) } only %}
{# username #} {% include "shared-components/_copy_input.html.twig" with { label: 'Utilisateur', name: 'username', type: 'text', value: website.adwords.username, designation: 'adwords' } only %} {# password #} {% include "shared-components/_copy_input.html.twig" with { label: 'Mot de passe', name: 'password', type: 'password', value: website.adwords.password, designation: 'adwords' } only %}
{% else %} {% endif %}
{% endif %} {% endblock %}