25 lines
797 B
Plaintext
25 lines
797 B
Plaintext
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
<form action="/admin/article" method="post">
|
|
|
|
<input type="hidden" name="id" value="{{ post.id }}">
|
|
<input type="text" name="title" placeholder="title" required value="{{ post.title }}">
|
|
<input type="text" name="url" placeholder="url" {{ post.url }}>
|
|
<textarea name="body" id="" cols="30" rows="10" placeholder="body">{{ post.body }}</textarea>
|
|
<input type="datetime-local" name="publish_at" id="">
|
|
<input type="checkbox" name="published" {% if post.published %}checked{% endif %}>
|
|
|
|
<button>submit</button>
|
|
</form>
|
|
|
|
</body>
|
|
</html> |