Using url_for in a template