nalodeni.pirati.cz/nalodeni/templates/news/block_edit.html

39 lines
891 B
HTML

{% 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 blok zprávy</h2>
{%else%}
<h2>Nový blok zprávy</h2>
{%endif%}
<br/>
<form action="#" method="POST">
{%csrf_token%}
{{form}}
<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%}