diff --git a/app/views/schedules/show.html.erb b/app/views/schedules/show.html.erb index 3d6acff3..ee1f0c3f 100644 --- a/app/views/schedules/show.html.erb +++ b/app/views/schedules/show.html.erb @@ -10,10 +10,9 @@ <%= render partial: 'sessions/filters', locals: { resource: :schedule } %> -
+
<% if @sessions.present? %> <% previous_date = nil %> - <% @sessions.group_by(&:starts_at).each do |starts_at, sessions| %> <%= content_tag( :div, diff --git a/app/views/sessions/_card.html.erb b/app/views/sessions/_card.html.erb index 168fbb78..7b9240a2 100644 --- a/app/views/sessions/_card.html.erb +++ b/app/views/sessions/_card.html.erb @@ -1,4 +1,4 @@ -<%# locals: (session:, user_is_an_attendee:, id_prefix: nil, last_session: false) %> +<%# locals: (session:, user_is_an_attendee:, id_prefix: nil) %>
@@ -74,4 +74,3 @@
- diff --git a/app/views/sessions/index.html.erb b/app/views/sessions/index.html.erb index 0b8e3b92..cb1ee975 100644 --- a/app/views/sessions/index.html.erb +++ b/app/views/sessions/index.html.erb @@ -10,10 +10,9 @@ <%= render partial: 'sessions/filters', locals: { resource: :sessions } %> -
+
<% if @sessions.present? %> <% previous_date = nil %> - <% @sessions.group_by(&:starts_at).each do |starts_at, sessions| %> <%= content_tag( :div,