<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %>
<% if 5 > 0 %>
Balance Due: $0.00
<% end %>

Billing Plan

<%= label_tag 'Selected Plan' %>
You are currently on Notebook.ai's Premium plan at $9/month.

Date Description Status
01/01/2017 - 02/01/2017 $9 due by February 1st, 2017 Ready to pay
01/01/2017 - 02/01/2017 $9 paid on January 5, 2017 Paid!
01/01/2017 - 02/01/2017 $9 paid on December 19, 2016 Paid!

Edit your information

<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true %>
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
Currently waiting confirmation for: <%= resource.unconfirmed_email %>
<% end %>

Changing your password

<%= f.label :password %> (leave blank if you don't want to change it)
<%= f.password_field :password, autocomplete: "off" %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation, autocomplete: "off" %>

Identity Check (required)

<%= f.label :current_password %> (we need your current password to confirm any changes)
<%= f.password_field :current_password, autocomplete: "off" %>
<%= f.submit "Update your account information", class: 'btn' %> <%= link_to "Cancel", :back, class: 'btn grey' %>
<% end %>