added term wrappers to edit form
changed 'tag' to 'term'