Jinja2 macros for form generation; simple front-end layout for chat app.