diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-04 17:13:18 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-04 17:13:18 +0200 |
| commit | ac01156d00b24d14225c8e75979fb59bba69640d (patch) | |
| tree | f223b41358debb6cee45c5351d885505615b0e02 /app/views/assets | |
| parent | 409d71ed471703be8c56f2639a3ecb0fa387e6a7 (diff) | |
Tidy up headings on house keeping views
- Collapse page headers into one action row with an optional hint
- limit will_paginate to one row
Diffstat (limited to 'app/views/assets')
| -rw-r--r-- | app/views/assets/index.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ | |||
| 1 | <h1><%= t(".title") %></h1> | 1 | <%= render "shared/page_actions", |
| 2 | 2 | :title => t(".title"), | |
| 3 | <%= link_to new_asset_path, class: 'action_button' do %> | 3 | :icon_name => "photo-plus", |
| 4 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_asset") %> | 4 | :label => t(".create_asset"), |
| 5 | <% end %> | 5 | :options => [[t(".create_asset"), new_asset_path]] %> |
| 6 | 6 | ||
| 7 | <%= will_paginate @assets %> | 7 | <%= will_paginate @assets %> |
| 8 | 8 | ||
