{if form:page_count > 1}
{pages}
{if page:index == current_page:index}
{page:label}
{if:else} {page:label} {/if}
{/pages}
{/if} {if form:has_errors}
There was an error submitting this form
{form:errors}
{error}
{/form:errors}
{/if} {rows}
{fields}
{field:render class="{if field:type != 'submit'}freeform-input{/if}" label_class="freeform-label{if field:required} freeform-required{/if}{if field:input_only} freeform-input-only-label{/if}" error_class="freeform-errors" instructions_class="freeform-instructions" }
{/fields}
{/rows}