From c8733c2d7f9830ba07637b20957dbc6c826d2a19 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Nov 2025 12:37:01 +0000 Subject: [PATCH] Add 'View Public Page' button to sharing modal - Add prominent button to view the public shared trip page - Opens in new tab with external link icon - Positioned between sharing link and sharing options - Makes it clear where the sharing link leads --- app/views/trips/_sharing.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/trips/_sharing.html.erb b/app/views/trips/_sharing.html.erb index 77c555bc..7766125c 100644 --- a/app/views/trips/_sharing.html.erb +++ b/app/views/trips/_sharing.html.erb @@ -62,6 +62,16 @@ + +
+ <%= link_to shared_trip_path(trip.sharing_uuid), target: '_blank', class: 'btn btn-outline btn-primary gap-2' do %> + + + + View Public Page + <% end %> +
+