Implement add/remove locations on edit template
fix create template view layout