show.html.twig 1.03 KB
{% extends 'base.html.twig' %}

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

    <table>
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ educacion.id }}</td>
            </tr>
            <tr>
                <th>Universidad</th>
                <td>{{ educacion.universidad }}</td>
            </tr>
            <tr>
                <th>Titulo</th>
                <td>{{ educacion.titulo }}</td>
            </tr>
            <tr>
                <th>Fegreso</th>
                <td>{% if educacion.fegreso %}{{ educacion.fegreso|date('Y-m-d') }}{% endif %}</td>
            </tr>
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('educacion_index') }}">Back to the list</a>
        </li>
        <li>
            <a href="{{ path('educacion_edit', { 'id': educacion.id }) }}">Edit</a>
        </li>
        <li>
            {{ form_start(delete_form) }}
                <input type="submit" value="Delete">
            {{ form_end(delete_form) }}
        </li>
    </ul>
{% endblock %}