%= render :layout => 'form' do %>
<% url = CartoDB.url(self, 'edit_password_reset', params: { id: params[:id] }) %>
<%= form_for @user, url: url, class: "js-Loading-form" do |f| %>
<%= f.password_field :password, class: "CDB-Size-medium #{@organization.present? ? 'Sessions-input' : 'Sessions-navy-input'} topBorderRadius", placeholder: 'Password' %>
<% if @user.errors['password'].present? %>
!
<% end %>
<%= f.password_field :password_confirmation, class: "CDB-Size-medium #{@organization.present? ? 'Sessions-input' : 'Sessions-navy-input'} bottomBorderRadius", placeholder: 'Retype your password' %>
<% if @user.errors['password_confirmation'].present? %>
!
<% end %>
<% end %>
<% end %>