Feat: Make availabilities editable

This commit is contained in:
Björn Fromme
2023-10-20 16:14:21 +02:00
parent 05c925eec1
commit 992bdcc46c
4 changed files with 62 additions and 1 deletions
@@ -47,6 +47,14 @@
}) }}>
{{ icon('delete') }}
</button>
<button type="button"
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
{{ stimulus_action('modal-button', 'ajax', null, {
'title': 'Verfügbarkeit bearbeiten',
'url': path('app_admin_system_availability_edit', { 'id': availability.id })
}) }}>
{{ icon('edit') }}
</button>
</div>
</td>
</tr>