Remove redundant "start a new campaign for nonprofit" button on campaign page

This commit is contained in:
Eric Schultz 2018-11-21 13:48:53 -06:00
parent 8a9f212e9a
commit e93149d117

View file

@ -103,14 +103,6 @@
</div> </div>
</aside> </aside>
<% unless current_campaign_editor? || @campaign.child_campaign? %>
<aside class='u-marginTop--15'>
<a class='button u-width--full' target='_blank' if-branded='background-color, dark' href='/peer-to-peer?npo_id=<%=@nonprofit.id %>'>
Start Your Own Campaign for <%= @nonprofit.name %>
</a>
</aside>
<% end %>
</section> </section>
<% if @campaign.child_campaign? %> <% if @campaign.child_campaign? %>