aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/settings.html
blob: c26e4ccd02f33e54d65bac43083c9730138c54d7 (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
25
26
27
28
29
30
31
32
{% 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" action="?f={{form.action}}">
    <h3 class="page-header">{{ form.settings_form_headline }}</h3>
    {% wiki_form form %}

    <div class="field is-horizontal">
      <div class="field-label">
        {# Empty for spacing #}
      </div>
      <div class="field-body">
        <div class="control">
          <button type="submit" class="button is-primary" name="save">
            <span class="icon">
              <i class="fas fa-save"></i>
            </span>
            <span>Save Changes</span>
          </button>
        </div>
      </div>
    </div>
  </form>
  {% endfor %}

{% endblock %}