{% from 'utils/form/_render_field.html' import render_field %}
<form action="" method="post">
    {{ form.hidden_tag() }}
    {{ render_field(form.name) }}
    {{ wtf.form_field(form.submit, class=form.submit.render_kw["class"] or "btn btn-primary  mt-3") }}
</form>