{% extends "admin/change_form.html" %} 
{% block content %} 
    <p>
You should test your HTML email in a browser first before pasting it in the box. Unlike a web page, all of your styles should be included in the '<code>&lt;body&gt;</code>' and any '<code>&lt;img&gt;</code>' tags should refer to full URLs in their '<code>src</code>' attribute.
    </p>
    <p>
You can use mail merge style placeholders in your templates to include dynamic content that is specific to each customer. Use the following format:
<blockquote>Dear &#123;&#123;first_name&#125;&#125; &#123;&#123;last_name&#125;&#125;</blockquote>
    </p>
    <p>
If you are sending emails to external customers, you should include a link for them to unsubscribe (opt out) from receiving future emails. The system provides you with a placeholder called <code>&#123;&#123;unsubscribe_url&#125;&#125;</code> which you would use like this in HTML:
<blockquote>&lt;p&gt;To unsubscribe from this mailing list, go to the following URL: &lt;a href="&#123;&#123;unsubscribe_url&#125;&#125;"&gt;&#123;&#123;unsubscribe_url&#125;&#125;&lt;/a&gt;&lt;/p&gt;</blockquote>
and in plain text:
<blockquote>To unsubscribe from this mailing list, go to the following URL: &#123;&#123;unsubscribe_url&#125;&#125;</blockquote>
    </p>
    <p>
If you wish to track users who open your email, include a placeholder called <code>&#123;&#123;tracking_image&#125;&#125;</code> in the HTML version only:
<blockquote>&#123;&#123;tracking_image&#125;&#125;</blockquote>
    </p><br/>
    {{ block.super }}
{% endblock %}
