Skip to content

Commit

Permalink
Remove django-bootstrap4, show errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 9, 2024
1 parent de49e7a commit 3c98798
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends "orga/base.html" %}
{% load bootstrap4 %}
{% load i18n %}

{% block content %}

<h2>{% trans "Set up media.ccc.de sync" %}</h2>
<form method="post">
{% csrf_token %}
{% bootstrap_form form layout='event' %}
{% include "common/forms/errors.html" with errors=form.non_field_errors %}
{{ form }}
<div class="submit-group panel">
<span></span>
<span class="d-flex flex-row-reverse">
Expand All @@ -34,7 +34,8 @@ <h3>{% trans "Change URLs" %}</h3>

<form method="post">
{% csrf_token %}
{% bootstrap_form url_form layout='event' %}
{% include "common/forms/errors.html" with errors=url_form.non_field_errors %}
{{ url_form }}

<button type="submit" name="action" value="urls" class="btn btn-success btn-lg float-right">
{% trans "Save" %}
Expand Down

0 comments on commit 3c98798

Please sign in to comment.