47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}
|
|
Add an Episode - Season {{season.number}} of {{show.name}} - Episodes.Community
|
|
{% endblock %}
|
|
{% block content %}
|
|
<section class="show-details">
|
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
|
<div class="banner-cover">
|
|
<div class="artwork">
|
|
{% if episode.season.artwork %}
|
|
<img src="/media/uploaded_resources/{{season.artwork}}">
|
|
{% else %}
|
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
|
{% endif %}
|
|
</div>
|
|
<div class="details season">
|
|
<h1>{{show.name}}</h1>
|
|
{% if season.name %}
|
|
<h3>{{ season.name }}</h3>
|
|
{% else %}
|
|
<h3>Season {{ season.number }}</h3>
|
|
{% endif %}
|
|
<p class="description">
|
|
{% if season.description %}
|
|
{{ season.description }}
|
|
{% else %}
|
|
{{ show.description }}
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="submissions">
|
|
<a href="/show/{{show.abbr}}" class="button"><i class="fa fa-fw fa-home"></i> Show Index</a>
|
|
<h1>Add an Episode</h1>
|
|
{% if error %}
|
|
<div class="message error">{{error}}</div>
|
|
{% endif %}
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|