<template name="baseForm">
    <form
        id="{{this.id}}"
        class="{{this.class}}"
        name="{{this.name}}"
        action="{{this.action}}"
        method="{{this.method}}"
        autocomplete="{{this.autocomplete}}"
        enctype="{{this.enctype}}"
        novalidate="{{this.novalidate}}"
        target="{{this.target}}"
        {{this.tagAttributes}}
    >
        {{#if (and validationErrors (not this.hideValidationBox))}}
            <div class="validation-error-container alert alert-danger" role="alert">
                {{#each error in validationErrors}}
                    <p><a href="#" class="text-danger" data-target="{{error.key}}">{{error.message}}</a></p>
                {{/each}}
            </div>
        {{/if}}
        {{>UI.contentBlock}}
    </form>
</template>
