Use to-form Vue component instead of base-form in TO builder base template

This commit is contained in:
leigh-mil
2019-09-04 13:26:46 -04:00
parent 23b67ede15
commit 6f1f7f0d3d
3 changed files with 46 additions and 25 deletions

View File

@@ -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 %}