<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Edit Task</title>
</head>
<body>
<h1>Edit Task</h1>
<form action="<?php echo site_url('tasks/update/'.$task->id); ?>" method="POST">
	<label for="title">Title</label>
	<input type="text" name="title" value="<?php echo $task->title; ?>" required><br>
	<label for="description">Description</label>
	<textarea name="description"><?php echo $task->description; ?></textarea><br>
	<input type="submit" value="Update Task">
</form>
</body>
</html>
