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.
44 lines
1.1 KiB
Text
Executable file
44 lines
1.1 KiB
Text
Executable file
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<%= content_for :stylesheets do %>
|
|
<style>
|
|
.signup form {
|
|
width: 30%;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|
|
<% end %>
|
|
|
|
<div class='backgroundColor'>
|
|
</div>
|
|
|
|
<div class='padded container--narrow u-centered top--high'>
|
|
<div class='container-shadow'></div>
|
|
|
|
<h2>Sign Up</h2>
|
|
|
|
<div class='u-width--300 u-margin--auto u-centered u-padding--20'>
|
|
|
|
<p class='small-error'><%= devise_error_messages! %></p>
|
|
|
|
<% if flash[:alert] %>
|
|
<div class='alert alert-error' style='width: 213px; margin: 0 auto 12px auto;'><%= flash[:alert] %></div>
|
|
<% end %>
|
|
|
|
<div class='u-centered'>
|
|
|
|
<form autosubmit action='<%= registration_path(:user) %>' method='post' parsley-validate data-reload>
|
|
<%= render 'users/signup_fields_brackets' %>
|
|
|
|
<p class='error'></p>
|
|
<button type='submit' data-loading='Submitting...' class='button--large'>Submit</button>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id='register-swap'>
|
|
<a on-click='openModal' data-modal='signinModal'>Have an account? Login.</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|