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/events/index.html.erb | |
| 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/events/index.html.erb')
| -rw-r--r-- | app/views/events/index.html.erb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index cc3f163d..c4f0a7f9 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb | |||
| @@ -1,10 +1,8 @@ | |||
| 1 | <h1><%= t(".title") %></h1> | 1 | <%= render "shared/page_actions", |
| 2 | 2 | :title => t(".title"), | |
| 3 | <div class="button_row"> | 3 | :icon_name => "calendar-plus", |
| 4 | <%= link_to new_event_path, class: 'action_button' do %> | 4 | :label => t(".create_event"), |
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_event") %> | 5 | :options => [[t(".create_event"), new_event_path]] %> |
| 6 | <% end %> | ||
| 7 | </div> | ||
| 8 | 6 | ||
| 9 | <%= will_paginate @events %> | 7 | <%= will_paginate @events %> |
| 10 | 8 | ||
