LSBC/templates/podcast/show.html.twig
2023-10-14 18:26:09 +02:00

66 lines
1.4 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Podcast{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
th { min-width: 8em; }
</style>
{% endblock %}
{% block body %}
<h1>Podcast {{ podcast.name }}</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ podcast.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ podcast.name }}</td>
</tr>
<tr>
<th>Slug</th>
<td>{{ podcast.slug }}</td>
</tr>
<tr>
<th>Website</th>
<td>{{ podcast.website }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ podcast.description }}</td>
</tr>
<tr>
<th>Author</th>
<td>{{ podcast.author }}</td>
</tr>
<tr>
<th>Email</th>
<td>{{ podcast.email }}</td>
</tr>
<tr>
<th>LogoFilename</th>
<td>{{ podcast.logoFilename }}</td>
</tr>
<tr>
<th>Logo</th>
<td><img src="{{ podcast.logoPath }}" alt="{{ podcast.name }} logo"></td>
</tr>
<tr>
<th>Owner</th>
<td>{{ podcast.owner }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_podcast_index') }}">back to list</a>
<a href="{{ path('app_podcast_edit', {'id': podcast.id}) }}">edit</a>
{{ include('podcast/_delete_form.html.twig') }}
{% endblock %}