Add radio buttons for choosing the API key type

Best-guess wording for what the labels and question should be.

Adds a macro for rendering radio buttons from a WTForms field.
This commit is contained in:
Chris Hill-Scott
2016-06-29 17:10:49 +01:00
parent 49d8e68589
commit 7fcd56dc02
6 changed files with 67 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ def create_api_key(service_id):
key_name=form.key_name.data)
return render_template(
'views/api-keys/create.html',
key_name=form.key_name
form=form
)