2023-08-21 16:47:31 +02:00
|
|
|
<!DOCTYPE html>
|
2023-09-16 09:59:30 +02:00
|
|
|
<html lang="en">
|
2023-08-21 16:47:31 +02:00
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
2023-08-21 22:50:09 +02:00
|
|
|
<meta name="format-detection" content="telephone=no">
|
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2023-08-21 16:47:31 +02:00
|
|
|
<title>Editing {{.Title}}</title>
|
2023-08-21 22:59:09 +02:00
|
|
|
<style>
|
|
|
|
|
html { max-width: 70ch; padding: 2ch; margin: auto; color: #111; background: #ffe; }
|
|
|
|
|
form, textarea { width: 100%; }
|
|
|
|
|
</style>
|
2023-08-21 16:47:31 +02:00
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<h1>Editing {{.Title}}</h1>
|
2023-08-22 11:25:52 +02:00
|
|
|
<form action="/save/{{.Name}}" method="POST">
|
2023-09-14 15:34:58 +02:00
|
|
|
<textarea name="body" rows="20" cols="80" placeholder="# Title
|
2023-09-11 00:27:11 +02:00
|
|
|
|
2023-09-16 09:59:30 +02:00
|
|
|
Text" lang="" autofocus>{{printf "%s" .Body}}</textarea>
|
2023-08-23 16:51:58 +02:00
|
|
|
<p><input type="submit" value="Save">
|
2023-09-14 08:17:03 +02:00
|
|
|
<a href="/view/{{.Name}}"><button type="button">Cancel</button></a></p>
|
2023-08-21 16:47:31 +02:00
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|