diff --git a/pynyaata/__init__.py b/pynyaata/__init__.py index 81e4d0c..06022b3 100644 --- a/pynyaata/__init__.py +++ b/pynyaata/__init__.py @@ -156,6 +156,7 @@ def admin_edit(link_id=None): else: link = utils.clean_model(AnimeLink()) link.title = utils.clean_model(AnimeTitle()) + link.title.folder = utils.clean_model(AnimeFolder()) link.vf = False folders = AnimeFolder.query.all() diff --git a/pynyaata/templates/admin/edit.html b/pynyaata/templates/admin/edit.html index 605fa8c..f73571f 100644 --- a/pynyaata/templates/admin/edit.html +++ b/pynyaata/templates/admin/edit.html @@ -10,7 +10,7 @@