<% if @recovery %>
<% if flash[:errors]&.any? %> <% end %> <%= form_with url: recover_password_path, method: :post do |form| %>
<%= form.submit t(".submit"), class: "btn btn-warning btn-info", data: { recover_password_target: "submit", } %>
<% end %>
<% else %> <% end %>