extract HTML templating for admin_app to an ERB file