🔥 Remove widget_tweaks and bootstrapform use

This commit is contained in:
nikolark committed 2021-10-30 15:50:42 +02:00
1 parent 49870595b0
commit 0e4ef1b75f
6 files changed
+11 -19

No files matched your search

+2 -4
View File
@@ -1,10 +1,8 @@
{% extends "base.html" %}
{% load widget_tweaks %}
{% load bootstrap %}
{% block title %}Legg til nye varer {% endblock %}
{% block active_inventory_add" %}active{% endblock %}
{% block active_inventory_add %}active{% endblock %}
{% block content %}
{% if perms.auth.can_add_inventory_transaction %}
@@ -24,7 +22,7 @@
<form method="post" role="form">
{% csrf_token %}
{{ form|bootstrap }}
{{ form }}
<input type="submit" value="Legg til" class="btn btn-primary btn-lg" />
<a href="{% url 'inventory' %}" class="btn btn-default" />Tilbake</a>