24 lines
776 B
Django/Jinja
24 lines
776 B
Django/Jinja
{% extends 'layout.html.j2' %}
|
|
{% block content %}
|
|
<h1>{{ feed.name }}</h1>
|
|
<form method="post" enctype="multipart/form-data">
|
|
<fieldset>
|
|
<label>
|
|
Name
|
|
<input name="name" value="{{ feed.name }}" required />
|
|
</label>
|
|
<label>
|
|
Description
|
|
<textarea name="description" required>{{ feed.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 %}
|