Correct formatting issue in the campaign profile part of page
This commit is contained in:
parent
43ff7fb192
commit
ef216546a2
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
|||
<section class='box' style="font-style: italic">
|
||||
<div class="well" style="padding-left:16px;">
|
||||
<h4><%= profile.name %> <small>(<%= profile.city %><% if profile.state_code && profile.city %><%= profile.city_state %> <%= profile.state_code %><% end %>)</small></h4>
|
||||
<h4><%= profile.name %> <% if profile.state_code || profile.city -%>
|
||||
<small>(<% if profile.state_code && profile.city -%><%= profile.city %>, <%= profile.state_code -%>
|
||||
<% elsif profile.city -%>
|
||||
<%= profile.city -%>
|
||||
<% else -%>
|
||||
<%= profile.state_code -%>
|
||||
<% end -%>)</small><% end -%>
|
||||
</h4>
|
||||
<blockquote><p>"<%= reason_for_supporting %>"</p></blockquote></div>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue