Factor fork button view.

@randx I will do it. So that I follow the good rule in future PRs: how / why do you choose between them? I feel that the haml file is more readable than concatenating HTML helpers.