<%= form_for :search, url: search_path do |f| %>

<%= f.text_field :address_1, placeholder: "First Address" %>
<%= f.text_field :address_2, placeholder: "Second Address" %>
<%= f.text_field :address_3, placeholder: "Third Address (Optional)" %>
<%= f.submit "Find Midpoint"%>

<%end%>

Add Form On New Search Page
Add Form On New Search Page
