LB-91: Refactor admin templates

Nikola bug report fixed.