-
-
-
-
- {% for field_name, field in object.parameters_form.base_fields.items %}
-
- {{ field.label }} |
- {{ object.parameters | get_key:field_name | placeholder }} |
-
- {% empty %}
-
-
- No parameters defined
- |
-
- {% endfor %}
-
-
-
+ {% include 'validity/inc/parameters.html' with title='Parameters' parameters=object.parameters form=object.subform_cls only %}
{% endblock content %}
diff --git a/validity/templates/validity/inc/parameters.html b/validity/templates/validity/inc/parameters.html
new file mode 100644
index 0000000..bb2b11e
--- /dev/null
+++ b/validity/templates/validity/inc/parameters.html
@@ -0,0 +1,20 @@
+{% load helpers %}
+
+ {% include 'validity/inc/parameters.html' with title='Parameters' parameters=object.parameters form=object.subform_cls only %}
+