{% load i18n %}

<div class="wmd-wrapper" id="{{ id }}-wmd-wrapper">
    <div class="wmd-panel">
        <div id="{{ id|safe }}_wmd_button_bar"></div>
        <textarea{{ attrs|safe }}>{{ body }}</textarea>
    </div>
    {% if show_preview %}
        <p class="wmd-preview-title"><small>{% trans 'Preview' %}:</small></p>
        <div id="{{ id|safe }}_wmd_preview" class="wmd-panel wmd-preview"></div>
    {% endif %}
</div>