File size: 980 Bytes
e24c25f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<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>