add shortcut to create episode on podcast page

This commit is contained in:
dece 2024-02-25 20:34:44 +01:00
parent 0e8d02c2ef
commit 35216ff630

View file

@ -69,12 +69,20 @@
</tbody>
</table>
<p>
<a href="{{ path('app_podcast_index') }}">Go back to list</a>
</p>
<a
href="{{ path('app_podcast_edit', {'id': podcast.id}) }}"
class="btn btn-primary"
>Edit</a>
<p>
<a
href="{{ path('app_podcast_edit', {'id': podcast.id}) }}"
class="btn btn-primary"
>Edit</a>
<a
href="{{ path('app_episode_new') }}?podcast={{ podcast.id }}"
class="btn btn-primary"
>Create new episode</a>
</p>
{{ include('podcast/_delete_form.html.twig') }}
{% endblock %}