{block name='animal_form'}
    {block name='animal_form_errors'}
        {include file='_partials/form-errors.tpl' errors=$errors['']}
    {/block}

    <form action="{block name='animal_form_action_url'}{$action}{/block}" id="animal-form" class="js-animal-form" method="post">
        <section>
            {block "form_fields"}
                {foreach from=$formFields item="field"}
                    {block "form_field"}
                        {form_field field=$field}
                    {/block}
                {/foreach}
            {/block}
        </section>

        {block name='animal_form_footer'}
            <footer class="form-footer clearfix">
                <input type="hidden" name="submitCreate" value="1">
                {block "form_buttons"}
                    <button class="btn btn-primary form-control-submit float-xs-right" data-link-action="save-customer" type="submit">
                        {l s='Save' d='Shop.Theme.Actions'}
                    </button>
                {/block}
            </footer>
        {/block}

    </form>
{/block}
