move general form stuff into template, include dynamic stuff instead