We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0236ba8 commit f65f4daCopy full SHA for f65f4da
app/views/events/_event.html.haml
@@ -6,7 +6,7 @@
6
%span.badge.bg-primary.mb-3.mb-md-0
7
= link_to event.chapter.name, event.chapter.slug, class: 'text-light text-decoration-none'
8
- if !attending_ids.blank?
9
- - if attending_ids.include(event.id)
+ - if attending_ids.include?(event.id)
10
%span.badge.bg-success.mb-3.mb-md-0
11
= link_to 'Attending', event.path, class: 'text-light text-decoration-none'
12
- if @user
0 commit comments