|
|
|
@ -6,8 +6,8 @@
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1>Edit {{item[1]}}</h1>
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h2>Edit {{item[1]}}</h2>
|
|
|
|
|
|
|
|
<form action="/{{item[0]}}?_method=PUT" method="POST">
|
|
|
|
<form action="/{{item[0]}}?_method=PUT" method="POST">
|
|
|
|
<input name="title" type="text" value="{{item[1]}}">
|
|
|
|
<input name="title" type="text" value="{{item[1]}}">
|
|
|
|
<textarea name="description">{{item[2]}}</textarea>
|
|
|
|
<textarea name="description">{{item[2]}}</textarea>
|
|
|
|
@ -16,7 +16,11 @@
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
|
|
|
|
<h2>Navigation</h2>
|
|
|
|
<a href="/{{item[0]}}">Back to item page</a>
|
|
|
|
<a href="/{{item[0]}}">Back to item page</a>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
|
|
|
|
<h2>Delete Item</h2>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|
|