Feat: Add edit function for trainings

This commit is contained in:
Björn Fromme
2023-10-12 14:35:26 +02:00
parent 46f39888b5
commit 3e32fcbcb4
4 changed files with 62 additions and 1 deletions
@@ -41,6 +41,14 @@
}) }}>
{{ icon('delete') }}
</button>
<button type="button"
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
{{ stimulus_action('modal-button', 'ajax', null, {
'title': 'Fortbildung bearbeiten',
'url': path('app_admin_system_training_edit', { 'id': training.id })
}) }}>
{{ icon('edit') }}
</button>
</div>
</td>
</tr>