{% load tags %}
{% load bootstrap4 %}
+
+{% block menu-active-audiobooks %}active{% endblock %}
+
+
{% block content %}
+{% for alert in alerts %}
+ <div class="mt-4 alert alert-warning">{{ alert }}</div>
+{% endfor %}
<div class="card mt-4">
<div class="card-header">
{% endif %}
</div>
<div class="col-md-6">
+ {% if audiobook.is_youtube_publishable %}
<p>
<a href="{% url 'youtube_preview' audiobook.id %}">
{% trans "Preview YouTube metadata" %}
<input class="btn btn-primary" type="submit" value="{% trans "Publish on YouTube" %}" />
</form>
<br>
+ {% endif %}
{% if audiobook.youtube_id %}
<form method="post" action="{% url 'youtube_update' audiobook.id %}">
{% csrf_token %}