templates/marriage_certificate/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}MarriageCertificate index{% endblock %}
  3. {% block body %}
  4. <h1>MarriageCertificate index</h1>
  5. <div class="table-scrollable">
  6. <table >
  7. <thead>
  8. <tr>
  9. <th>{% trans %}Id{% endtrans %} </th>
  10. <th>{% trans %}UpdateAt{% endtrans %} </th>
  11. <th>{% trans %}FirstSpouseName{% endtrans %} </th>
  12. <th>{% trans %}FirstSpouseFather{% endtrans %} </th>
  13. <th>{% trans %}FirstSpouseMother{% endtrans %} </th>
  14. <th>{% trans %}actions{% endtrans %} </th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. {% for marriage_certificate in marriage_certificates %}
  19. <tr>
  20. <td>{{ marriage_certificate.id }}</td>
  21. <td>{{ marriage_certificate.updateAt ? marriage_certificate.updateAt|date('Y-m-d H:i:s') : '' }}</td>
  22. <td>{{ marriage_certificate.firstSpouseName }}</td>
  23. <td>{{ marriage_certificate.firstSpouseFather }}</td>
  24. <td>{{ marriage_certificate.firstSpouseMother }}</td>
  25. <td>
  26. <a href="{{ path('marriage_certificate_show', {'id': marriage_certificate.id}) }}">{% trans %}show{% endtrans %}</a>
  27. <a href="{{ path('marriage_certificate_edit', {'id': marriage_certificate.id}) }}">{% trans %}edit{% endtrans %}</a>
  28. </td>
  29. </tr>
  30. {% else %}
  31. <tr>
  32. <td colspan="7">{% trans %}no records found{% endtrans %}</td>
  33. </tr>
  34. {% endfor %}
  35. </tbody>
  36. </table>
  37. </div>
  38. <a href="{{ path('marriage_certificate_new') }}">{% trans %}Create new{% endtrans %}</a>
  39. {% endblock %}