Use to-form Vue component instead of base-form in TO builder base template
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{% from "components/modal.html" import Modal %}
|
||||
|
||||
{% block portfolio_content %}
|
||||
<base-form inline-template>
|
||||
<to-form inline-template {% if form.clins %}v-bind:initial-clin-count="{{ form.clins.data | length }}"{% endif %}>
|
||||
<form id="to_form" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data">
|
||||
{{ form.csrf_token }}
|
||||
|
||||
@@ -51,5 +51,5 @@
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</base-form>
|
||||
</to-form>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user