diff --git a/copy_admin_templates.py b/copy_admin_templates.py
index e9d8cf1..670fead 100644
--- a/copy_admin_templates.py
+++ b/copy_admin_templates.py
@@ -27,11 +27,29 @@ def copyAdminTemplates():
copytree(src, dist)
print("Copied", src, "->", dist)
+
+ print(
+ f"""
+ _________
+ | WARNING
+ | -------
+ |
+ | You might have to edit the file {dist}/base.html by adding nav in the following way:
+ | This line:\t
+ | Becomes:\t
+ |
+ | This will prevent the navigation bar from expanding such that some elements can not be seen.
+ | Refer to this pull request: https://github.com/flask-admin/flask-admin/pull/2233
+ |
+ | If the above pull request is merged and flask-admin is on a new release after the merge,
+ | then this step is not needed.
+ _________
+ """
+ )
+
return True
if __name__ == "__main__":
- if copyAdminTemplates():
- print("Done!")
- else:
+ if not copyAdminTemplates():
print("Did not copy!")