|
<%= render partial: "layouts/decidim/mailer_logo", locals: { organization: @organization } %>
|
|
<% if @organization.official_img_header.attached? %>
<%= link_to @organization.official_url do %>
<%= image_tag @organization.attached_uploader(:official_img_header).url(host: @organization.host), alt: "", style: "max-height: 50px", class: "float-right" %>
<% end %>
<% end %>
|
|
|
|
|
<% if @custom_url_for_mail_root.present? %>
<%= link_to @organization.name.html_safe, @custom_url_for_mail_root %>
<% else %>
<%= link_to @organization.name.html_safe, decidim.root_url(host: @organization.host) %>
<% end %>
|
|
<% if content_for?(:note) or content_for?(:unsubscribe) %>