Move check for displaying form into profile template