%= 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] %>