edit-gallery.html
ASCII text
1{% extends "default.html" %} 2 3{% block nav_title %}{{ gallery.title }}{% endblock %} 4{% block title %}Edit gallery '{{ gallery.title }}' | {{ site_name }}{% endblock %} 5{% set back_url = "/gallery/" + gallery.id|string %} 6 7{% block content %} 8<x-frame style="--width: 768px" class="vbox"> 9<form method="POST" class="vbox"> 10<label> 11<span class="required-asterisk">Title</span> 12<input type="text" name="title" value="{{ gallery.title }}" required> 13</label> 14<label> 15Description 16<textarea name="description">{{ gallery.description }}</textarea> 17</label> 18<button type="submit">Submit</button> 19</form> 20</x-frame> 21{% endblock %} 22