Skip to content
Snippets Groups Projects
Unverified Commit cc20fee5 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

check variable

parent ba98917d
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@
</tbody>
</table>
</div>
<% if @page.featured_image.attached? %>
<% if @page.featured_image.attached? && @page.featured_image.variable? %>
<div class="card flex-fill w-100">
<div class="card-header">
<h5 class="card-title mb-0"><%= t('activerecord.attributes.communication/website/page.featured_image') %></h5>
......
......@@ -56,7 +56,7 @@
</tbody>
</table>
</div>
<% if @post.featured_image.attached? %>
<% if @post.featured_image.attached? && @post.featured_image.variable? %>
<div class="card flex-fill w-100">
<div class="card-header">
<h5 class="card-title mb-0"><%= t('activerecord.attributes.communication/website/post.featured_image') %></h5>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment