{% extends 'pirati_cz.html' %}

{%block body%}
<div class="row">
  <div class="medium-12 large-12 columns">
    <section class="o-section o-section--spaceBot">
      <div class="o-section-inner">
        <div class="o-section-block">
          {% if form.instance.id %}
              <h2>Upravit zprávu newsletteru</h2>
          {%else%}
              <h2>Nová zpráva newsletteru</h2>
          {%endif%}
          <br/>
          <form action="#" method="POST">
          {%csrf_token%}
          {{form}}
          <br/>
          Smazat ? <input type="text" name="del_item" value="" placeholder="Napište 'ano' pro smazání."/>
          <br/>
          <input type="submit" class="button button-primary" value="Uložit"/>
          </form>
        </div>
      </div>
    </section>
  </div>
</div>

<div class="row">
  <div class="medium-12 large-12 columns">
    <section class="o-section o-section--spaceBot">
      <div class="o-section-inner">
      &nbsp;
      </div>
    </section>
  </div>
</div>


{%endblock%}
