Remove unnecessary macro and Vue props
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% from "components/icon.html" import Icon %}
|
||||
|
||||
{% macro UploadInput(field, portfolio_id, show_label=False, watch=False, token="", object_name="") -%}
|
||||
{% macro UploadInput(field, portfolio_id, show_label=False, watch=False) -%}
|
||||
<uploadinput
|
||||
inline-template
|
||||
{% if not field.errors %}
|
||||
|
@@ -16,5 +16,5 @@
|
||||
|
||||
{% block to_builder_form_field %}
|
||||
{{ TOFormStepHeader('task_orders.form.supporting_docs_header' | translate, 'task_orders.form.supporting_docs_text' | translate) }}
|
||||
{{ UploadInput(form.pdf, portfolio.id, watch=True, token=token, object_name=object_name) }}
|
||||
{{ UploadInput(form.pdf, portfolio.id, watch=True) }}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user