<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Create New Task</title>
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
	<div class="container-fluid">
		<a class="navbar-brand" href="#">To-Do List</a>
	</div>
</nav>

<!-- Main content -->
<div class="container mt-5">
	<h1>Create New Task</h1>
	<form action="<?php echo site_url('tasks/store'); ?>" method="POST">
		<div class="mb-3">
			<label for="title" class="form-label">Title</label>
			<input type="text" name="title" class="form-control" required>
		</div>
		<div class="mb-3">
			<label for="description" class="form-label">Description</label>
			<textarea name="description" class="form-control"></textarea>
		</div>
		<button type="submit" class="btn btn-primary">Create Task</button>
	</form>
</div>

<!-- Add Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>

</body>
</html>
