<% content_for :title do %>Reset your password<% end %> <%= javascript_include_tag 'common', 'common_vendor', 'sessions' %>
<%= render :partial => 'shared/logo', locals: { organization: @organization } %>
<%= form_for @user, url: CartoDB.path(self, 'password_change'), class: "js-Loading-form" do |f| %> <% if @password_error %>

<%= raw @password_error %>

<% end %> <%= f.hidden_field :username %>
<%= password_field_tag :old_password, "", placeholder: "Type your current password", class: "CDB-Size-medium #{@organization.present? ? 'Sessions-input' : 'Sessions-navy-input'} bottomBorderRadius" %> <% if @old_password_error %>
!
<% end %>
<%= password_field_tag :password, "", placeholder: "Type your new password", class: "CDB-Size-medium #{@organization.present? ? 'Sessions-input' : 'Sessions-navy-input'} bottomBorderRadius" %> <% if @new_password_error %>
!
<% end %>
<%= password_field_tag :password_confirmation, "", placeholder: "Retype your new password", class: "CDB-Size-medium #{@organization.present? ? 'Sessions-input' : 'Sessions-navy-input'} bottomBorderRadius" %> <% if @new_password_error %>
!
<% end %>

<% end %>
<% unless cartodb_com_hosted? %> <% end %>