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, :password_confirmation %> <%= password_input f, :password_confirmation %> <%= error_tag f, :password_confirmation %>
<%= submit "Update" %>
<% end %>