{% extends 'base.html.twig' %}
{% block title %}MarriageCertificate index{% endblock %}
{% block body %}
<h1>MarriageCertificate index</h1>
<div class="table-scrollable">
<table >
<thead>
<tr>
<th>{% trans %}Id{% endtrans %} </th>
<th>{% trans %}UpdateAt{% endtrans %} </th>
<th>{% trans %}FirstSpouseName{% endtrans %} </th>
<th>{% trans %}FirstSpouseFather{% endtrans %} </th>
<th>{% trans %}FirstSpouseMother{% endtrans %} </th>
<th>{% trans %}actions{% endtrans %} </th>
</tr>
</thead>
<tbody>
{% for marriage_certificate in marriage_certificates %}
<tr>
<td>{{ marriage_certificate.id }}</td>
<td>{{ marriage_certificate.updateAt ? marriage_certificate.updateAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ marriage_certificate.firstSpouseName }}</td>
<td>{{ marriage_certificate.firstSpouseFather }}</td>
<td>{{ marriage_certificate.firstSpouseMother }}</td>
<td>
<a href="{{ path('marriage_certificate_show', {'id': marriage_certificate.id}) }}">{% trans %}show{% endtrans %}</a>
<a href="{{ path('marriage_certificate_edit', {'id': marriage_certificate.id}) }}">{% trans %}edit{% endtrans %}</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="7">{% trans %}no records found{% endtrans %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<a href="{{ path('marriage_certificate_new') }}">{% trans %}Create new{% endtrans %}</a>
{% endblock %}