It's clearer to call out when we DON'T want the messages
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
<div data-controller="beacon lightbox" data-beacon-url-value="<%= card_reading_path(@card) %>">
|
||||
<%= render "cards/container", card: @card %>
|
||||
<%= render "cards/messages", card: @card if @card.published? || @card.drafted? %>
|
||||
<%= render "cards/messages", card: @card unless @card.creating? %>
|
||||
|
||||
<%= render "layouts/lightbox" do %>
|
||||
<%= button_to_remove_card_image(@card) if @card.image.attached? %>
|
||||
|
||||
Reference in New Issue
Block a user