Clean up logic for when edit link and create form show

It had been possible for both to show when the action was
not possible.