2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Add View/Form for creating a new PartParameterTemplate

This commit is contained in:
Oliver Walters
2019-08-20 14:33:18 +10:00
parent 15a42878db
commit 307a04da58
4 changed files with 30 additions and 1 deletions

View File

@@ -45,7 +45,13 @@
$('#param-create').click(function() {
launchModalForm("{% url 'part-param-create' %}?part={{ part.id }}", {
reload: true,
reload: true,
secondary: [{
field: 'template',
label: 'New Template',
title: 'Create New Parameter Template',
url: "{% url 'part-param-template-create' %}"
}],
});
});