houdini/app/views/users/_email_login_form.html.erb
2020-06-15 10:26:57 -05:00

12 lines
614 B
Text

<%- # 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>