diff --git a/app/views/calculators/partials/_logo_picture.html.erb b/app/views/calculators/partials/_logo_picture.html.erb index b803427a9..cd41c7ba0 100644 --- a/app/views/calculators/partials/_logo_picture.html.erb +++ b/app/views/calculators/partials/_logo_picture.html.erb @@ -1 +1,5 @@ -<%= image_tag(@calculator.logo_picture.variant(resize_to_fill: [428, 307])) if @calculator.logo_picture.attached? %> \ No newline at end of file +<% if @calculator.logo_picture.attached? %> + <%= image_tag(@calculator.logo_picture.variant(resize_to_fill: [428, 307])) %> +<% else %> + <%= image_tag("scales.png", alt: "Default image") %> +<% end %>