layer7-web-2/templates/edit.html
2026-08-13 01:03:34 +09:00

5 lines
253 B
HTML

<form action="/edit/{{ post.id }}" method="POST">
<input placeholder="title" name="title" value="{{ post.title }}" />
<textarea placeholder="content" name="content">{{ post.content }}</textarea>
<button type="submit">Submit</button>
</form>