Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Add Course</title> | |
</head> | |
<body> | |
<h1>Add a New Course</h1> | |
<form action="/addcourse" method="post"> | |
<label for="program">Select Program:</label><br> | |
<select id="program" name="program" required> | |
<option value="">--Select a program--</option> | |
{% for program in programs %} | |
<option value="{{ program }}">{{ program }}</option> | |
{% endfor %} | |
</select><br><br> | |
<label for="course_name">Course Name:</label><br> | |
<input type="text" id="course_name" name="course_name" required><br><br> | |
<label for="course_outcomes">Course Learning Outcomes (one per line):</label><br> | |
<textarea id="course_outcomes" name="course_outcomes" rows="5" cols="50" required></textarea><br><br> | |
<input type="submit" value="Add Course"> | |
</form> | |
<br> | |
<a href="/">Back to Home</a> | |
</body> | |
</html> | |