Files
danbooru/app/views/emails/edit.html.erb
2020-03-25 18:48:42 -05:00

16 lines
407 B
Plaintext

<% page_title "Change Email" %>
<div id="c-emails">
<div id="a-edit">
<h1>Change Email</h1>
<p>You must confirm your password in order to change your email address.</p>
<%= edit_form_for(@user, url: user_email_path(@user)) do |f| %>
<%= f.input :password %>
<%= f.input :email, as: :email, input_html: { value: "" } %>
<%= f.submit "Save" %>
<% end %>
</div>
</div>