{% extends "base.html.twig" %}
{% trans_default_domain 'www' %}
{% set t_root = 'coach.client.coaching' %}

{% block title %}{{ (t_root ~ '.title')|trans({'%name%': client.fullname})|raw }}{% endblock %}
{% block page_title %}
    {{ (t_root ~ '.title')|trans({'%name%': client.fullname})|raw }}
    <a href="{{ path('coach_client_edit', { 'client': client.id }) }}" class="btn btn-primary"><i class='fa fa-pen fa-fw icon'></i>{{ 'coach.client.actions.edit'|trans }}</a>
{% endblock %}

{% block body %}

    <div class="row mt-2">

        {# {{ dump(client.CoachingItems()) }} #}

        <react-client-coaching data-client_id="{{ client.id }}" data-tools_json="{{ tools_json }}"></react-client-coaching>

    </div>

{% endblock %}