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

10 lines
506 B
Text
Raw Normal View History

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<form autosubmit action='<%= session_path :user %>' method='post' data-reload class='login-form'>
<input type='email' name='user[email]' placeholder='Email' required>
<input type='password' name='user[password]' placeholder='Password' required>
<div class='u-centered'>
<p class='error'></p>
<button class='button--small' type='submit' data-loading='Logging in...'>Login</button>
</div>
</form>