Wrote autocompletion for foreign key field
This commit is contained in:
@@ -119,11 +119,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{comp_form|crispy}}
|
||||
<input type="submit" name="submit-edit-component" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% if component.get_resolved_image %}
|
||||
@@ -149,7 +144,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% include 'parts/modals/edit-component-modal.html' with heading="Edit "|add:component.name form=edit_form %}
|
||||
{% include 'parts/modals/edit-component-modal.html' with heading="Edit "|add:component.name form=comp_form %}
|
||||
{% endblock content %}
|
||||
|
||||
{% block custom_scripts %}
|
||||
|
Reference in New Issue
Block a user