added check for post type (move and role) to post form.