Commit 1935cba7 authored by Arman Sobhi's avatar Arman Sobhi

Removed name field

parent 4a73bfb4
......@@ -21,13 +21,12 @@ def input_form():
courses = map(lambda x: x[0], course_data)
courses = ','.join(courses)
return render_template('GASGUI.html', classes=courses)
@app.route('/submit', methods=['POST'])
def submit():
name = request.form['name'].lower()
name = 'student'
degree = request.form['degreeType']
major = request.form['MajorList']
year = request.form['YearList']
......@@ -20,11 +20,6 @@
<div class="student_info">
<form action="/submit" method="post">
<label for="name">Name:</label>
<input type="text" name="name" />
<label for="typeOfDeggree">Degree Type</label>
<input type="radio" name="degreeType" value ="bs" checked />BS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment