Split edit & view profile templates

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>