Remove unused login modal

This commit is contained in:
Eric Schultz 2021-04-22 10:45:19 -05:00 committed by Eric Schultz
parent c46113c181
commit 40d537b616
4 changed files with 0 additions and 34 deletions

View file

@ -3,8 +3,6 @@
<% if current_user %> <% unless current_user.confirmed? %>
<%= render 'common/confirm_email_modal' %>
<% end %>
<% else %>
<%= render 'users/login_modal' %>
<% end %>
<%= render 'common/confirmation' %>

View file

@ -1,12 +0,0 @@
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<form autosubmit action='<%= session_path :user %>' method='post' data-reload class='login-form'>
<p class='reloadMessage'>You're now signed in!</p>
<label>Email</label>
<input type='email' name='user[email]' placeholder='Email' required>
<label>Password</label>
<input type='password' name='user[password]' placeholder='Password' required>
<p class='error'></p>
<button class='button' type='submit' data-loading='Logging in...'>Login</button>
</form>

View file

@ -1,3 +0,0 @@
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<p>Not registered yet? <a <%= action %> class='u-bold'>Sign Up.</a></p>

View file

@ -1,17 +0,0 @@
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<div class='modal skinny' id='loginModal'>
<header class='modal-header'>
<%= render 'common/modal_close' %>
<h3>Login</h3>
</header>
<div class='modal-body u-centered'>
<div class='u-margin--auto u-width--300'>
<%= render 'users/email_login_form' %>
</div>
<p class='u-marginTop--10 u-marginBottom--0 u-bold'><a href='<%= new_password_path(resource_name) %>'>Forgot your password?</a></p>
<%= render 'users/login_footer', :action => "open-modal=signUpModal" %>
</div>
</div>