Oops. Create is an edit state...

This commit is contained in:
2019-10-08 17:04:10 +01:00
parent 1b124a9da9
commit 1811cc98ba
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
Cable Details
</div>
<div class="panel-body">
{% if edit or duplicate %}
{% if create or edit or duplicate %}
<div class="form-group">
<label for="{{ form.plug.id_for_label }}">Plug</label>
<select name="{{ form.plug.name }}" id="{{ form.plug.id_for_label }}" class="form-control">