Skip to content

Commit e61e54c

Browse files
committed
WIP: Indicate draft event status on event cards with no starts_at value
1 parent c2fe814 commit e61e54c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/views/better_together/events/_event.html.erb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
<div class="event-categories">
1818
<%= categories_badge(event) %>
1919
</div>
20+
<% if event.starts_at.nil? %>
21+
<div class="mt-2">
22+
DRAFT
23+
</div>
24+
<% end %>
2025
<% end %>
2126
<% end %>
2227
<% end %>

0 commit comments

Comments
 (0)