Skip to content

Commit

Permalink
Affiche 'Vide' quand il n'y a pas d'image
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Feb 5, 2025
1 parent 58efab0 commit 078ecee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/admin/questions/_show_illustration.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
<%= link_to cdn_for(illustration), target: '_blank', rel: 'noopener' do %>
<%= image_tag cdn_for(illustration), class: 'image-preview', alt: illustration.filename %>
<% end %>
<% else %>
<span class="empty">Vide</span>
<% end %>

0 comments on commit 078ecee

Please sign in to comment.