22adb4d5fd
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.
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<div class='container--narrow top--high u-centered'>
|
|
<div class='container-shadow'></div>
|
|
|
|
<header class='padded'>
|
|
<h2>Almost Done! Set Your Password</h2>
|
|
</header>
|
|
|
|
<section class='padded'>
|
|
|
|
<form method='post' action='<%= confirm_path %>' parsley-validate>
|
|
<%= devise_error_messages! %>
|
|
|
|
<input name="authenticity_token" type="hidden" value="<%= form_authenticity_token %>" />
|
|
|
|
<input name='id' type='hidden' value='<%= @user.id %>'>
|
|
<input name='user[confirmation_token]' type='hidden' value='<%= params[:confirmation_token] %>'>
|
|
|
|
<div class='field'>
|
|
<label><strong>New Password</strong></label>
|
|
<input id='new-password-input' name='user[password]' type='password' required parsley-minlength='7'>
|
|
</div>
|
|
|
|
<div class='field'>
|
|
<label><strong>Confirm Password</strong></label>
|
|
<input name='user[password_confirmation]' type='password' parsley-equalto='#new-password-input' required parsley-minlength='7'>
|
|
</div>
|
|
|
|
<p class='error'></p>
|
|
<button type='submit' class='button--large'>Submit</button>
|
|
</form>
|
|
</section>
|
|
|
|
</div>
|