diff --git a/app/views/images/_nested_image.html.erb b/app/views/images/_nested_image.html.erb index ff9e3d242..9116d54e6 100644 --- a/app/views/images/_nested_image.html.erb +++ b/app/views/images/_nested_image.html.erb @@ -13,7 +13,7 @@ force_non_association_create: true, partial: "images/image_fields", id: "new_image_link", - class: "button hollow + class: "button hollow #{"hide" if image_fields == :image && imageable.image.present?}", render_options: { locals: { imageable: imageable }