Import form or edit template