17 lines
551 B
HTML
17 lines
551 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Edit Task</title>
|
|
<link rel="stylesheet" type="text/css" href="/abcd.css">
|
|
</head>
|
|
<body>
|
|
<h1>Edit Task</h1>
|
|
<form action="/edit/{{ task.id }}" method="post" class="task-form">
|
|
<label for="description">Task Description:</label>
|
|
<input type="text" id="description" name="description" value="{{ task.description }}" required>
|
|
<button type="submit" class="button">Update Task</button>
|
|
</form>
|
|
<a href="/" class="button">Back to List</a>
|
|
</body>
|
|
</html>
|