houdini/app/views/settings/_pass.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

24 lines
997 B
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<header class='pane-header'>
<h3>Change Password</h3>
</header>
<div class='pane-inner'>
<form autosubmit method='put' action='<%= registration_path(@user) %>' data-reload>
<div class='field u-marginBottom--20'>
<label>Type your new password below</label>
<input class='input--300 u-marginBottom--10 u-block' type='password' name='user[password]' type='text' placeholder='New password'>
<input class='input--300' type='password' name='user[password_confirmation]' placeholder='Confirm password'>
</div>
<% if !@user.pending_password %>
<div class='field'>
<label>Type your current password below to confirm your changes</label>
<input class='input--300' name='user[current_password]' type='password'>
</div>
<% end %>
<p class='error'></p>
<button class='button u-marginTop--5' type='submit' data-loading='Saving...'>Save New Password</button>
</form>
</div>