<%= gettext "Profile" %>

<%= form_for @changeset, profile_path(@conn, :update), [class: "update-profile"], fn f -> %> <%= if @changeset.action do %>

<%= gettext "Oops, something went wrong! Please check the errors below." %>

<% end %>
<%= input f, :name %>
<%= input f, :email, as: :email %>
<%= link gettext("Change password"), to: password_path(@conn, :edit) %>
<%= submit gettext("Update Profile"), class: "btn btn-primary" %>
<% end %>