Edit profile

<%= form_for @changeset, @action, [as: :user], fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %> <%= label f, :current_password %> <%= password_input f, :current_password %> <%= error_tag f, :current_password %> <%= label f, Pow.Ecto.Schema.user_id_field(@changeset) %> <%= text_input f, Pow.Ecto.Schema.user_id_field(@changeset) %> <%= error_tag f, Pow.Ecto.Schema.user_id_field(@changeset) %> <%= label f, :password %> <%= password_input f, :password %> <%= error_tag f, :password %> <%= label f, :confirm_password %> <%= password_input f, :confirm_password %> <%= error_tag f, :confirm_password %>
<%= submit "Update" %>
<% end %>