diff --git a/app/views/trips/index.html.erb b/app/views/trips/index.html.erb index 46218299..eb0c2078 100644 --- a/app/views/trips/index.html.erb +++ b/app/views/trips/index.html.erb @@ -27,28 +27,30 @@
- <%= "#{human_date(trip.started_at)} – #{human_date(trip.ended_at)}, #{trip.distance} #{DISTANCE_UNIT}" %> -
+ <%= link_to trip, class: "block hover:shadow-lg rounded-lg" do %> ++ <%= "#{human_date(trip.started_at)} – #{human_date(trip.ended_at)}, #{trip.distance} #{DISTANCE_UNIT}" %> +
-