Still refactoring,
template edit_survey + helpers done