From c713ef343bbcf7dbd21a75d434b5bf206caf4287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasia=20Jarmo=C5=82kowicz?= Date: Thu, 5 Jul 2018 17:50:56 +0200 Subject: [PATCH] Let's load uploadBannerImage modal in settings! --- app/views/campaigns/show.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/campaigns/show.html.erb b/app/views/campaigns/show.html.erb index c6730077..56c5bc55 100644 --- a/app/views/campaigns/show.html.erb +++ b/app/views/campaigns/show.html.erb @@ -152,6 +152,10 @@ end_point: "/nonprofits/#{@nonprofit.id}/campaigns/#{@campaign.id}", image_url: @campaign_background_image, input_name: 'campaign[background_image]' %> + <%= render 'components/upload_banner_image', + end_point: "/nonprofits/#{@nonprofit.id}/campaigns/#{@campaign.id}", + image_url: @campaign.banner_image_url, + input_name: 'campaign[banner_image]' %> <%= render 'components/custom_receipt_modal', title: 'Campaign Receipt Message', type: 'campaign',