Let's load uploadBannerImage modal in settings!
This commit is contained in:
parent
77a59b0037
commit
c713ef343b
1 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,10 @@
|
||||||
end_point: "/nonprofits/#{@nonprofit.id}/campaigns/#{@campaign.id}",
|
end_point: "/nonprofits/#{@nonprofit.id}/campaigns/#{@campaign.id}",
|
||||||
image_url: @campaign_background_image,
|
image_url: @campaign_background_image,
|
||||||
input_name: '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',
|
<%= render 'components/custom_receipt_modal',
|
||||||
title: 'Campaign Receipt Message',
|
title: 'Campaign Receipt Message',
|
||||||
type: 'campaign',
|
type: 'campaign',
|
||||||
|
|
Loading…
Reference in a new issue