reordered add button to be consistent with author and publisher, then allowed author to be a drop-down with a + or - button as appropriate

This commit is contained in:
2020-11-22 12:02:01 +11:00
parent 60619c9d9c
commit fc12536a83
3 changed files with 40 additions and 13 deletions

View File

@@ -68,3 +68,6 @@ def author(id):
author_form = AuthorForm(request.values, obj=author)
message=""
return render_template("author.html", author=author, alert=alert, message=message, author_form=author_form)
def GetAuthors():
return Author.query.order_by('surname','firstnames').all()