add conditional to show edit button on pages#show