Log in

<%= form_for @changeset, session_path(@conn, :create), [class: "create-session"], fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= input f, :email %>
<%= input f, :password, as: :password %>
<%= submit "Log in", class: "btn btn-primary" %>
<% end %>