Feat: Add edit function for trainings

This commit is contained in:
Björn Fromme committed 2023-10-12 14:35:26 +02:00
1 parent 46f39888b5
commit 3e32fcbcb4
4 files changed
+62 -1

No files matched your search

@@ -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>