Commit 1935cba7 by 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']
......
......@@ -21,11 +21,6 @@
<form action="/submit" method="post">
<br>
<div>
<label for="name">Name:</label>
<input type="text" name="name" />
</div>
<br>
<div>
<label for="typeOfDeggree">Degree Type</label>
<input type="radio" name="degreeType" value ="bs" checked />BS
<input type="radio" name="degreeType" value="ba" disabled=true/> BA
......
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