Compare commits
No commits in common. "2317006de9d76da3dd3594e8d8d23002cf660d71" and "d726dfe84c08bcfeed4ac9b7a976919e791272b0" have entirely different histories.
2317006de9
...
d726dfe84c
@ -26,11 +26,9 @@ def index():
|
||||
|
||||
@app.route('/showSummary',methods=['POST'])
|
||||
def showSummary():
|
||||
club = [club for club in clubs if club['email'] == request.form['email']]
|
||||
if club:
|
||||
return render_template('welcome.html', club=club[0], competitions=competitions)
|
||||
flash("The email isn't found")
|
||||
return redirect(url_for('index'))
|
||||
club = [club for club in clubs if club['email'] == request.form['email']][0]
|
||||
return render_template('welcome.html',club=club,competitions=competitions)
|
||||
|
||||
|
||||
@app.route('/book/<competition>/<club>')
|
||||
def book(competition,club):
|
||||
|
@ -6,16 +6,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to the GUDLFT Registration Portal!</h1>
|
||||
{% with messages = get_flashed_messages()%}
|
||||
{% if messages %}
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>{{message}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif%}
|
||||
{% endwith %}
|
||||
|
||||
Please enter your secretary email to continue:
|
||||
<form action="showSummary" method="post">
|
||||
<label for="email">Email:</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user