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

14 lines
637 B
Text
Raw Normal View History

2020-06-12 20:03:43 +00:00
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<%- @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>