aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/settings.html
blob: 6d6c0f49b62aabadbdc5caf7d3896cc68bb0bfe6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "wiki/article.html" %}
{% load wiki_tags i18n %}


{% block wiki_pagetitle %}{% trans "Settings" %}: {{ article.current_revision.title }}{% endblock %}

{% block wiki_contents_tab %}

  {% for form in forms %}
  <form method="POST" class="form-horizontal settings-form" action="?f={{form.action}}">
    <h3 class="page-header">{{ form.settings_form_headline }}</h3>
    {% wiki_form form %}
    <div class="form-group form-actions">
      <div class="col-lg-10 col-lg-2-offset">
        <button type="submit" name="save" value="1" class="btn btn-primary">
          <span class="fa fa-check"></span>
          {% trans "Save changes" %}
        </button>
      </div>
    </div>
  </form>
  {% endfor %}

{% endblock %}