Move edit to the index

This commit is contained in:
Jason Zimdars
2024-10-23 16:09:47 -05:00
parent 0a5854e02e
commit 17f744cf0f
3 changed files with 6 additions and 6 deletions
@@ -10,9 +10,4 @@
<% end %>
</menu>
</dialog>
<%= link_to edit_bucket_url(bucket), class: "btn btn--plain", style: "font-size: 0.25em;" do %>
<%= image_tag "pencil.svg", aria: { hidden: true }, size: 24 %>
<span class="for-screen-reader">Edit</span>
<% end %>
</div>
+5
View File
@@ -14,5 +14,10 @@
<div class="flex align-center justify-center flex-column gap-half center">
<strong><%= link_to bucket.name, bucket_bubbles_path(bucket), class: "txt-x-large txt-ink" %></strong>
<%= link_to edit_bucket_url(bucket), class: "btn" do %>
<%= image_tag "settings.svg", aria: { hidden: true }, size: 24 %>
<span class="for-screen-reader">Bucket settings</span>
<% end %>
</div>
</li>
+1 -1
View File
@@ -2,7 +2,7 @@
<% content_for :header do %>
<nav>
<%= link_to bucket_bubbles_path(@bucket), class: "btn flex-item-justify-start" do %>
<%= link_to buckets_path, class: "btn flex-item-justify-start" do %>
<%= image_tag "arrow-left.svg", aria: { hidden: true }, size: 24 %>
<span class="for-screen-reader">Go back</span>
<% end %>