Commit Graph

9 Commits

Author SHA1 Message Date
a45528e5ae remove unneeded query of all objects 2020-12-05 19:23:46 +11:00
c367a2559f create/update/delete of condition, covertype, genre, owned, rating objects all works, and can be accessed from Admin menu 2020-12-05 11:45:47 +11:00
1a598ca59b renamed GetGenreList to GetGenres as it just gets them, does not make the html list as I was originally planning 2020-11-21 17:56:05 +11:00
52a75e2d71 sort genre list by name 2020-11-21 13:38:26 +11:00
cc99e2e98a add helper function GetGenreList - passes all genres to *.html, so horizontal "list" of checkboxes for book can be created 2020-11-21 12:25:45 +11:00
296ef4c1f7 renamed id_name_form to edit_id_name, then made show_id_name and used it for all appropriate classes. Shaved about 150 LOC / removed 5 x duplication of code :) 2020-11-18 12:30:23 +11:00
3f33e7f10d cleaned up Form->FlaskForm, for both import line and class *Form(FlaskForm) 2020-11-18 12:12:36 +11:00
5f46636298 created generic id_name_form.html and made condition, covertype, genre, owned, publisher & rating use it for single edit page 2020-11-18 12:09:02 +11:00
e39a4da6a2 removed all refs to genre_lst, made genre table confirm to id, name, added classes/routes for genre*, tweaked book format to accommodate multiple authors, etc. still 1-line, but with 12 / num of <authors, etc.> col wide form-controls 2020-11-15 14:16:58 +11:00