Trying to get exceptions and errors to work. I also added a new feature. I need to consolidate the API calls, but not sure how yet... I have a function per action when all that changes is the url...
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
{% extends 'head.html' %}
|
||||
{% block content %}
|
||||
<h4>Hello! Please click below to enter your key.</h4>
|
||||
{% if error %}
|
||||
<p class=error><strong> </strong>{{ error }}
|
||||
{% endif %}
|
||||
{% for error in error %}
|
||||
<h2 class=error><strong> {{ error }} </strong></h2>
|
||||
{% endfor %}
|
||||
<form action="{{ url_for("ask_key")}}" method="post">
|
||||
<input type="text" name="apikey">
|
||||
<input type="submit" value="Submit">
|
||||
|
||||
Reference in New Issue
Block a user