Fix nid_namespace since Django doesn't allow external Meta
Fix dangling import
Fix dangling import
Fix nid function naming error
Fix naming clash
Disable form fields when user has no permission
Fix unbound variable error
Fix permalink validity condition
Add horizontal divider
Fix fatal security flaw enabling unauthenticated users to view documents