From 764c3534ca1774bd3f5f60c3563d0e5d11ec4b11 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Tue, 4 Feb 2025 13:26:35 -0600 Subject: [PATCH] Add settings to bucket perma --- app/views/bubbles/index.html.erb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/bubbles/index.html.erb b/app/views/bubbles/index.html.erb index 5dff555d4..b1e62f862 100644 --- a/app/views/bubbles/index.html.erb +++ b/app/views/bubbles/index.html.erb @@ -15,7 +15,14 @@ <% if @filter.buckets.one? %> - <%= button_to bucket_bubbles_path(@filter.buckets.first), method: :post, class: "btn", form_class: "flex-item-justify-end" do %> + <% bucket = @filter.buckets.first %> + + <%= link_to edit_bucket_path(bucket), class: "btn flex-item-justify-end" do %> + <%= image_tag "settings.svg", aria: { hidden: true }, size: 24 %> + Settings for <%= bucket.name %> + <% end %> + + <%= button_to bucket_bubbles_path(bucket), method: :post, class: "btn" do %> <%= image_tag "add.svg", aria: { hidden: true }, size: 24 %> Create a new bubble <% end %>