Make code a bit DRY - move forms to a shared partial file.