Use slug and not id.

This commit is contained in:
Tim Schumacher 2014-07-10 12:57:16 +02:00
parent e54460d0ed
commit 53bc3f1ac6

View file

@ -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="ui form segment">
<div class="field"> <div class="field">
<label class="control-label required" for="event_startdate">Startdatum</label> <label class="control-label required" for="event_startdate">Startdatum</label>