<% 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, "", autocomplete: "off", 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, "", autocomplete: "off", 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, "", autocomplete: "off", 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 %>