{% extends 'App::layout_admin.html.twig' %} {% block body %}
Skills {{ profiles.getTotalItemCount }} elements-
{% for item in profiles %} {% endfor %}
Id Skill Price User
{{ item.id }} {% if item.category and item.category.parent and item.category.parent.iosIcon %}{% endif %} {{ item.category.name }}
{% if item.primaire > 0 %}Primaire{% endif %} {% if item.college > 0 %}College{% endif %} {% if item.lycee > 0 %}Lycée{% endif %} {% if item.superieur > 0 %}Supérieur{% endif %}

{{ item.content|nl2br }}

{% if item.profile and item.profile.address %}

{{ item.profile.address }}

{% endif %}
{% if item.pricePerHour > 0 %}{{ item.pricePerHour }} €/Heure{% endif %} {% if item.profile.role == 'ROLE_WEBMASTER' %}Teacher{% else %}Student{% endif %}
{{ item.profile.firstname }} {{ item.profile.lastname }}{% if item.profile and item.profile.user and item.profile.user.email %}
{{ item.profile.user.email }}{% endif %}
{% endblock body %} {% block javascripts %} {% endblock javascripts %}