mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-26 19:25:34 +02:00
The formsets are currently just too much of a hasle. I can do 90% of the functionality I want without them and don't have problems with adding a new relationship everytime I'm updating the computer object.
21 lines
453 B
HTML
21 lines
453 B
HTML
{% extends "core/base.html" %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block section_title %}Edit Computer{% endblock %}
|
|
{% block content %}
|
|
<form method="post">
|
|
<div class="row">
|
|
{% csrf_token %}
|
|
<div class="col">
|
|
<div class="card mt-3">
|
|
<div class="card-body">
|
|
{{ form|crispy }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<input type="submit" value="Save" class="btn btn-primary">
|
|
</form>
|
|
{% endblock %}
|