add pre and postactions blocks to submit_line template for adding additional buttons to form