Sign In

<%%= form_tag(login_path, method: "post") do %>
<%%= label_tag "email", "Email<% if username? %> or username<% end %>" %> <%%= text_field_tag "email" %>
<%%= label_tag "password" %> <%%= password_field_tag "password" %>
<%%= check_box_tag :remember_me, "1", true %>
<%%= submit_tag "Login" %>
Forgot your password?
<%% end %> <% if oauth? %>
or sign in using a connected account
<%% providers.each do |provider| %> <%%= provider_formatted_name(provider) %> Account <%% end %>
<% end %>