Update templates to use bootstrap4form

This commit is contained in:
Garret Wassermann 2018-09-09 03:54:56 -04:00
parent 107805defd
commit 8f57f9d64a
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{% extends "helpdesk/public_base.html" %} {% extends "helpdesk/public_base.html" %}
{% load i18n bootstrap %} {% load i18n bootstrap4form %}
{% block helpdesk_body %} {% block helpdesk_body %}
@ -30,7 +30,7 @@
<form role="form" method='post' action='./#submit' enctype='multipart/form-data'> <form role="form" method='post' action='./#submit' enctype='multipart/form-data'>
<fieldset> <fieldset>
{{ form|bootstrap }} {{ form|bootstrap4form }}
{% comment %} {% comment %}
{% for field in form %} {% for field in form %}

View File

@ -1,4 +1,4 @@
{% extends "helpdesk/public_base.html" %}{% load i18n bootstrap %} {% extends "helpdesk/public_base.html" %}{% load i18n bootstrap4form %}
{% block helpdesk_title %}{% trans "Helpdesk Login" %}{% endblock %} {% block helpdesk_title %}{% trans "Helpdesk Login" %}{% endblock %}
{% block helpdesk_body %} {% block helpdesk_body %}