app/views/district/students/edit.html.erb
<h1>Editing student</h1>
<%= form_for(@student, :url=>district_student_path(@student), :method=>:put ,:html=> {:multipart => true}) do |f| %>
<%= render :partial => f %>
<p>
<%= f.submit "Update" %>
</p>
<% end %>
<%= link_to 'Back', index_url_with_page %>
<%= link_to 'Remove from district', district_student_path(@student), :confirm => 'Are you sure?', :method => :delete %>