add button 'supprimer le bénéficiaire' on agenda subscribers-table

This commit is contained in:
Nicolas CARON 2023-01-26 15:24:16 +01:00
parent 3345eb1560
commit 5dde4beee7
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,7 @@
</thead>
<tbody class="divide-y divide-gray-200 bg-white">
{{range .ViewState.event.Subscriptions}}
<tr>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6 text-center">
<a href="/app/beneficiaries/{{.Subscriber}}" class="flex">
@ -36,6 +37,13 @@
<!-- <a href=""
class="text-co-blue hover:text-co-blue">Voir</a> -->
</td>
<!-- ajout du bouton supprimer -->
<td>
<button action="" method="" @submit="submit"type="submit"
class="rounded-2xl border border-transparent bg-co-red px-4 py-2 w-full text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">Supprimer le bénéficiaire</button>
</td>
<!-- fin -->
</tr>
{{end}}
</tbody>