Skip to content

Commit

Permalink
Remove django-bootstrap4
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 9, 2024
1 parent 6ee5914 commit c36904f
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions pretalx_pages/templates/pretalx_pages/form.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "orga/base.html" %}
{% load i18n %}
{% load bootstrap4 %}
{% load static %}

{% block extra_title %}{% trans "Page" %} :: {% endblock %}
Expand All @@ -9,17 +8,17 @@
<h1>{% trans "Page" %}</h1>
<form action="" method="post" class="form-horizontal" data-id="{{ page.id }}">
{% csrf_token %}
{% bootstrap_form_errors form type='non_fields' %}
<fieldset>
<legend>{% trans "General information" %}</legend>
{% bootstrap_field form.title layout="event" %}
{% bootstrap_field form.slug layout="event" %}
{% bootstrap_field form.link_in_footer layout="event" %}
</fieldset>
<fieldset id="content">
<legend>{% trans "Page content" %}</legend>
{% bootstrap_field form.text layout="event" %}
</fieldset>
{% include "orga/includes/submit_row.html" %}
{% include "common/forms/errors.html" with errors=form.non_field_errors %}
<fieldset>
<legend>{% trans "General information" %}</legend>
{{ form.title.as_field_group }}
{{ form.slug.as_field_group }}
{{ form.link_in_footer.as_field_group }}
</fieldset>
<fieldset id="content">
<legend>{% trans "Page content" %}</legend>
{{ form.text.as_field_group }}
</fieldset>
{% include "orga/includes/submit_row.html" %}
</form>
{% endblock %}

0 comments on commit c36904f

Please sign in to comment.