<h2>Change Password</h2>

<%= semantic_form_for @user, :url => provider_password_path, :method => :put do |form| %>
  <%= form.inputs do %>
    <%= form.input :password %>
    <%= form.input :password_confirmation %>
  <% end %>

  <%= form.buttons do %>
    <%= form.commit_button 'Change Password' %>
  <% end %>

  <% if @user.lost_password_token? %>
    <%= hidden_field_tag :password_reset_token, @user.lost_password_token %>
  <% end %>
<% end %>
