revised mixed-type formset
added nidm edit view, fixed name overwriting