You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
2.0 KiB

{% extends 'base.html' %}
{% load static %}
{% block scripts %}
{# selects #}
<link href="{% static 'js/select/select2.css' %}" rel="stylesheet"/>
<script src="{% static 'js/select/select2.js' %}"></script>
<script src="{% static 'custom_js/make_select.js' %}"></script>
{% endblock %}
{% block body %}
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-tasks"></i> Обзоры</h2>
</div>
<div class="box-content">
<form method="post" action="{% url 'settings_main_page_articles' %}">{% csrf_token %}
{{ article_form }}
<hr/>
<button type="submit" class="btn btn-primary" >Сохранить</button>
</form>
</div>
</div>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-tasks"></i> Тематики</h2>
</div>
<div class="box-content">
<form method="post" action="{% url 'settings_main_page_themes' %}">{% csrf_token %}
<div class="control-group">
<label class="control-label">{{ theme_form.exposition_themes.label }}</label>
<div class="controls">
{{ theme_form.exposition_themes }}
</div>
</div>
<div class="control-group">
<label class="control-label">{{ theme_form.conference_themes.label }}</label>
<div class="controls">
{{ theme_form.conference_themes }}
</div>
</div>
<hr/>
<button type="submit" class="btn btn-primary" >Сохранить</button>
</form>
</div>
</div>
</div>
{% endblock %}
{% block bot_scripts %}
<script src="{% static 'custom_js/find_events.js' %}"></script>
{% endblock %}