%= form_tag login_path, class: "login-form" do %>
<%= hook("auth.login.heading") %>
<% if flash[:error] -%>
<% end -%>
<%= hook("auth.login.form") %>
<% if Trestle.config.auth.remember.enabled %>
<% end %>
<%= submit_tag t("admin.auth.login", default: "Login"), class: "btn btn-primary btn-block" %>
<% end %>