<% content_for :title, 'New trip' %>

<div class="mx-auto md:w-2/3 w-full my-5">
  <h1 class="font-bold text-4xl">New trip</h1>

  <%= render "form", trip: @trip %>

  <%= link_to "Back to trips", trips_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
</div>
