Files
danbooru/app/views/maintenance/user/passwords/edit.html.erb

16 lines
487 B
Plaintext

<div id="c-maintenance-user-passwords">
<div id="a-edit">
<h1>Change Password</h1>
<%= edit_form_for @user do |f| %>
<%= f.input :old_password, :as => :password, :input_html => {:autocomplete => "off"} %>
<%= f.input :password, :label => "New password", :input_html => {:autocomplete => "off"} %>
<%= f.button :submit, "Submit" %>
<% end %>
</div>
</div>
<% content_for(:page_title) do %>
Change Password - <%= Danbooru.config.app_name %>
<% end %>