refactor trip planner form to move bulk of template into shared/app/*.mako file