<h1>Edycja gracza</h1>
  
<%= render :partial => 'form', 
  :locals => {
    :path => player_path(@player),
    :method => :put,
    :button_text => 'Aktualizuj'
  } %>

<%= link_to 'Pokaż', player_path(@player) %> |
<%= link_to 'Wstecz', players_path %>