Improve profile templates with edit actions