From ac01156d00b24d14225c8e75979fb59bba69640d Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 4 Aug 2026 17:13:18 +0200 Subject: Tidy up headings on house keeping views - Collapse page headers into one action row with an optional hint - limit will_paginate to one row --- app/views/assets/index.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/views/assets') diff --git a/app/views/assets/index.html.erb b/app/views/assets/index.html.erb index 81d2686a..af11f54f 100644 --- a/app/views/assets/index.html.erb +++ b/app/views/assets/index.html.erb @@ -1,8 +1,8 @@ -

<%= t(".title") %>

- -<%= link_to new_asset_path, class: 'action_button' do %> - <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_asset") %> -<% end %> +<%= render "shared/page_actions", + :title => t(".title"), + :icon_name => "photo-plus", + :label => t(".create_asset"), + :options => [[t(".create_asset"), new_asset_path]] %> <%= will_paginate @assets %> -- cgit v1.3