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

{% block body %}
    <div class="index">
    <h1>Origines list</h1>
    <center>
<<<<<<< HEAD
    <table border='4' width='80%' height='30%'>
=======
    <table border='4' width='40%' height='30%'>
>>>>>>> d75bc526a887bc0575128d602ccd2f835fc968aa
        <thead>
            <tr>
                <th>Idappellation</th>
                <th>Nomappellation</th>
                <th>Region</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for origine in origines %}
<<<<<<< HEAD
            <tr>
=======

          <tr>
>>>>>>> d75bc526a887bc0575128d602ccd2f835fc968aa
                <td><a href="{{ path('origine_show', { 'idAppellation': origine.idAppellation }) }}">{{ origine.idAppellation }}</a></td>
                <td>{{ origine.nomAppellation }}</td>
                <td>{{ origine.region }}</td>
                <td>
                    <ul>
                        <li>
                            <a href="{{ path('origine_show', { 'idAppellation': origine.idAppellation }) }}">show</a>
                        </li>
                        <li>
                            <a href="{{ path('origine_edit', { 'idAppellation': origine.idAppellation }) }}">edit</a>
                        </li>
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('origine_new') }}">Create a new origine</a>
        </li>
    </ul>
    </center>
    </div>
{% endblock %}
