generalizing templates -- specific verbiage still in views.py