25 lines
805 B
Django/Jinja
25 lines
805 B
Django/Jinja
{% extends 'admin_layout.html.j2' %}
|
|
{% block content %}
|
|
{{ super() }}
|
|
<h1>{{ podcast.name }}</h1>
|
|
<form method="post" enctype="multipart/form-data">
|
|
<fieldset>
|
|
<label>
|
|
Name
|
|
<input name="name" value="{{ podcast.name }}" required />
|
|
</label>
|
|
<label>
|
|
Description
|
|
<textarea name="description" required>{{ podcast.description }}</textarea>
|
|
</label>
|
|
<label>
|
|
Image
|
|
<input name="image" type="file" aria-describedby="image-help" />
|
|
<small id="image-help">This must be a square JPG or PNG in RGB format, and at least 1400x1400px in size and
|
|
3000x3000px at most.</small>
|
|
</label>
|
|
</fieldset>
|
|
|
|
<input type="submit" value="Update" />
|
|
</form>
|
|
{% endblock %}
|