<%= form_for authentication_scope, url: login_path, html: { class: "login-form" } do |f| %>
<%= hook("auth.login.heading") do %>

<%= trestle_auth_title %>

<% end %>
<% if flash[:error] -%>

<%= flash[:error] %>

<% end -%> <%= hook("auth.login.form.before") %> <%= render "form", f: f %> <%= hook("auth.login.form.after") %> <% end %>