Add "groups" to API forms

This commit is contained in:
Oliver Walters committed 2021-08-13 21:48:48 +10:00
1 parent cd4a797e71
commit 5b42ab7332
4 files changed
+161 -19

No files matched your search

@@ -276,6 +276,7 @@
constructForm('{% url "api-part-list" %}', {
method: 'POST',
fields: fields,
groups: partGroups(),
title: '{% trans "Create Part" %}',
onSuccess: function(data) {
// Follow the new part