<form id="form_espace_client" name="form_espace_client" method="post" enctype="multipart/form-data" title="{{ 'label.form_inscription_espcae_client'|trans }}">
    <div class="well"><strong>{{ 'label.form_mention-obligatoire'|trans }}</strong></div>

    <div class="block-form">
        {% for form in paramsEspaceClient %}
            <div data-functiontest="{{ form.service }}">
                {% if form.type == "commun" %}
                    {% set tplname = '@ActigraphActipageBaseBundle/Modules/EspaceClient/'~form.tpl ~ '.html.twig' %}
                {% else %}
                    {% set tplname = '@AppBundle/modules/'~form.tpl ~ '.html.twig' %}
                {% endif %}
                <fieldset>
                    <legend>{{ form.name }}</legend>
                    {% include tplname %}
                </fieldset>
                </div>
        {% endfor %}
    </div>
    <div class="row">
        <div class="col-sm-6 col-sm-offset-6">
            <button type="submit" class="btn btn-primary btn-lg btn-block" id="submitEspaceClient">{{ 'label.envoyer'|trans }}</button>
        </div>
    </div>
</form>