put-file.html
HTML document, ASCII text
1{% extends "default.html" %} 2 3{% block nav_title %}{{ resource.title }}{% endblock %} 4{% block title %}Replace {{ resource.title }} | {{ site_name }}{% endblock %} 5{% set back_url = "/picture/" + resource.id|string %} 6 7{% block content %} 8<x-frame style="--width: 768px"> 9<form method="POST" class="vbox" enctype="multipart/form-data"> 10<p> 11Change the picture <a href="/picture/{{ resource.id }}">{{ resource.title }}</a>. 12</p> 13<label> 14<span class="required-asterisk">File</span> 15<input type="file" name="file" required> 16</label> 17<button type="submit">Submit</button> 18</form> 19</x-frame> 20{% endblock %}