2018-10-22 09:45:39 +04:00
|
|
|
<!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>
|
|
|
|
|
2018-10-23 10:47:00 +04:00
|
|
|
<form action="/admin/article" method="post">
|
2018-10-22 09:45:39 +04:00
|
|
|
|
2019-04-19 10:23:07 +04:00
|
|
|
<input type="hidden" name="id" value="">
|
2018-10-23 10:18:56 +04:00
|
|
|
<input type="text" name="title" placeholder="title" required value="{{ article.title }}">
|
|
|
|
<input type="text" name="url" placeholder="url" value="{{ article.url }}">
|
|
|
|
<textarea name="body" id="" cols="30" rows="10" placeholder="body">{{ article.body }}</textarea>
|
2018-12-10 07:22:09 +04:00
|
|
|
<input type="datetime-local" name="publish_at" id="" value="{{ article.publish_at }}">
|
2018-10-23 10:18:56 +04:00
|
|
|
<input type="checkbox" name="published" {% if article.published %}checked{% endif %}>
|
2018-10-22 09:45:39 +04:00
|
|
|
|
|
|
|
<button>submit</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|