Skip to content

Commit

Permalink
Fix list visa markup (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchois authored Sep 16, 2024
1 parent b8712b5 commit fdb1873
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions templates/organization/visa_model/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,24 @@
<div class="fr-table__container">
<div class="fr-table__content">
<table id="table-md">
<thead>
<tr>
<th scope="col">{{ 'visa.name'|trans }}</th>
<th scope="col">{{ 'visa.description'|trans }}</th>
<th scope="col" class="app-table__actions">{{ 'common.actions'|trans }}</th>
</tr>
</thead>
<tbody data-testid="visa-list">
{% for visa in visaModels %}
<thead>
<tr>
<td>{{ visa.name }}</td>
<td>{{ visa.description }}</td>
<td></td>
<th scope="col">{{ 'visa.name'|trans }}</th>
<th scope="col">{{ 'visa.description'|trans }}</th>
<th scope="col" class="app-table__actions">{{ 'common.actions'|trans }}</th>
</tr>
{% endfor %}
</tbody>
</table>
</thead>
<tbody data-testid="visa-list">
{% for visa in visaModels %}
<tr>
<td>{{ visa.name }}</td>
<td>{{ visa.description }}</td>
<td></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit fdb1873

Please sign in to comment.