houdini/app/views/components/fundraising_pages/_campaigner_profile.html.erb

13 lines
580 B
Text
Raw Normal View History

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<%- @location_array = []
@location_array.push(profile.city) if profile.city.present?
@location_array.push(profile.state_code) if profile.state_code.present?
-%>
2018-11-19 19:53:15 +00:00
<section class='box' style="font-style: italic">
<div class="well" style="padding-left:16px;">
<h4><%= profile.name %><%- if @location_array.any? -%>
<small>(<%= @location_array.join(', ') %>)</small><%- end -%>
</h4>
2018-11-08 21:02:35 +00:00
<blockquote><p>"<%= reason_for_supporting %>"</p></blockquote></div>
</section>