<%= form_with url: "/password_recovery", method: :post do |form| %> <%= form.text_field :email %> <%= form.submit "Send email" %> <% end %>