diff --git a/app/views/emails/_list.html.erb b/app/views/emails/_list.html.erb index da47d41..6f06d5f 100644 --- a/app/views/emails/_list.html.erb +++ b/app/views/emails/_list.html.erb @@ -15,4 +15,23 @@ -<%= paginate @emails %> +
+ Showing + <%= @emails.offset_value + 1 %> + to + <%= @emails.offset_value + (@emails.respond_to?(:records) ? @emails.records : @emails.to_a).size %> + of + <%= @emails.total_count %> + results +
+<%= notice %>
+<% content_for :main_title do %> + Emails +<% end %> -<%= notice %>
<%= turbo_frame_tag "emails" do %> <%= render partial: "list", object: @emails, as: :emails %> diff --git a/app/views/emails/show.html.erb b/app/views/emails/show.html.erb index 0087258..2638e49 100644 --- a/app/views/emails/show.html.erb +++ b/app/views/emails/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :main_title do %> + Email # +<% end %> +<%= notice %>
<%= turbo_stream_from @email %> diff --git a/app/views/filters/_filter.html.erb b/app/views/filters/_filter.html.erb index 8b9dab2..5dfccd1 100644 --- a/app/views/filters/_filter.html.erb +++ b/app/views/filters/_filter.html.erb @@ -1,22 +1,27 @@ -+
- Enabled: - <%= filter.enabled %> -
- -+
+
<%= notice %>
+<% content_for :main_title do %> + Filters +<% end %> -<%= notice %>