<% unless resource.errors.empty? %>
<% end %>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| %> <%= f.hidden_field :reset_password_token %>
<%= f.label :password, "Passwort", :class => 'col-sm-2 control-label' %>
<%= f.password_field :password, :class => 'form-control' %>
<%= f.label :password_confirmation, "Passwortbestätigung", :class => 'col-sm-2 control-label' %>
<%= f.password_field :password_confirmation, :class => 'form-control' %>
<%= f.submit "Passwort setzen", :class => 'btn btn-primary' %>

<%= render :partial => "devise/shared/links" %> <% end %>