houdini/app/views/users/_email_login_form.html.erb

13 lines
614 B
Text
Raw Normal View History

2020-06-12 20:03:43 +00:00
<%- # 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>