<%= form_with class: "login", url: "/connect/ldap_login", method: :post do |f| %> <%= f.button "Log in", class: "button login__submit" %> <% end %> <% if defined?(message) && defined?(title) %>

<%= title %>

<%= message.html_safe %>

<% end %>