{% extends 'base.html.twig' %}

{% block title %}Intern{% endblock %}

{% block body %}
    <h1>Intern</h1>

    <table class="table">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ intern.id }}</td>
            </tr>
            <tr>
                <th>Nickname</th>
                <td>{{ intern.nickname }}</td>
            </tr>
            <tr>
                <th>Roles</th>
                <td>{{ intern.roles ? intern.roles|json_encode : '' }}</td>
            </tr>
            <tr>
                <th>Password</th>
                <td>{{ intern.password }}</td>
            </tr>
            <tr>
                <th>FirstName</th>
                <td>{{ intern.firstName }}</td>
            </tr>
            <tr>
                <th>LastName</th>
                <td>{{ intern.lastName }}</td>
            </tr>
            <tr>
                <th>Tel</th>
                <td>{{ intern.tel }}</td>
            </tr>
            <tr>
                <th>Address</th>
                <td>{{ intern.address }}</td>
            </tr>
            <tr>
                <th>Mail</th>
                <td>{{ intern.mail }}</td>
            </tr>
            <tr>
                <th>CoverLetter</th>
                <td>{{ intern.coverLetter }}</td>
            </tr>
            <tr>
                <th>Resume</th>
                <td>{{ intern.resume }}</td>
            </tr>
        </tbody>
    </table>

    <a href="{{ path('app_intern_index') }}">back to list</a>

    <a href="{{ path('app_intern_edit', {'id': intern.id}) }}">edit</a>

    {{ include('intern/_delete_form.html.twig') }}
{% endblock %}
