Commit 9fc805636195ab4a5331c9dc5ad19ad466348fd9
1 parent
e03d9a0d
Exists in
master
and in
2 other branches
Updating create news template
Showing
1 changed file
with
24 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,24 @@ |
1 | +{% extends 'news/list.html' %} | |
2 | + | |
3 | +{% load widget_tweaks static i18n django_bootstrap_breadcrumbs permission_tags pagination %} | |
4 | + | |
5 | +{% block breadcrumbs %} | |
6 | + {{ block.super }} | |
7 | + {% trans 'Register News' as register_news %} | |
8 | + {% breadcrumb register_news 'news:create' %} | |
9 | +{% endblock %} | |
10 | + | |
11 | +{% block render_breadcrumbs %} | |
12 | + {% render_breadcrumbs %} | |
13 | +{% endblock %} | |
14 | + | |
15 | +{% block content %} | |
16 | +<div class="card card-content"> | |
17 | + <div class="card-body"> | |
18 | + {% include 'news/_form.html' %} | |
19 | + </div> | |
20 | +</div> | |
21 | +<br clear="all"> | |
22 | +<br clear="all"> | |
23 | + | |
24 | +{% endblock %} | ... | ... |