reformat trails index form