Use slug and not id.
This commit is contained in:
parent
e54460d0ed
commit
53bc3f1ac6
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
<form method="post" action="{% if entity.id > 0 %}{{ path('_update',{'id':entity.id}) }}{% else %}{{ path('_create') }}{% endif %}">
|
||||
<form method="post" action="{% if entity.id > 0 %}{{ path('_update',{'slug':entity.slug}) }}{% else %}{{ path('_create') }}{% endif %}">
|
||||
<div class="ui form segment">
|
||||
<div class="field">
|
||||
<label class="control-label required" for="event_startdate">Startdatum</label>
|
||||
|
|
Reference in a new issue