A P2P page with an nonprofit already set doesn't allow you to change the np on the page
This commit is contained in:
parent
eec6744ac0
commit
d61a80d92c
1 changed files with 9 additions and 0 deletions
|
@ -71,6 +71,15 @@
|
||||||
<h4><%= @parent_campaign.name %></h4>
|
<h4><%= @parent_campaign.name %></h4>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
<% elsif @nonprofit.present?%>
|
||||||
|
<li>
|
||||||
|
<!--= set_attr_if selected_result 'class' 'is-complete' -->
|
||||||
|
<span class='annot'>10 seconds</span>
|
||||||
|
<p class='strong u-marginBottom--15'>My nonprofit</p>
|
||||||
|
<div class='u-paddingLeft--20 u-maxWidth--500'>
|
||||||
|
<h4><%= @nonprofit.name %></h4>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
<% else %>
|
<% else %>
|
||||||
<li>
|
<li>
|
||||||
<!--= set_attr_if selected_result 'class' 'is-complete' -->
|
<!--= set_attr_if selected_result 'class' 'is-complete' -->
|
||||||
|
|
Loading…
Reference in a new issue