houdini/app/views/nonprofits/_header_content.html.erb

15 lines
696 B
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start: nonprofit/header_content -->
<table>
<tr>
<td class='fundraisingHeader-content-sideElementTd'>
<div class='fundraisingHeader-content-logo' style="background-image:url('<%= @nonprofit.logo.attached? ? url_for(@nonprofit.logo_by_size(:normal)) : "" %>');">
</div>
</td>
<td class='fundraisingHeader-content-textTd'>
<h1 class='fundraisingHeader-content-title' data-id='<%= @nonprofit.id %>'><%= @nonprofit.name %></h1>
<h4 class='fundraisingHeader-content-sub'><%= @nonprofit.tagline %></h4>
</td>
</tr>
</table>
<!-- partial end: nonprofit/header_content -->