{if form:page_count > 1}
{pages}
{page:label}
{/pages}
{/if} {if form:has_errors}
There was an error submitting this form
{form:errors}
{error}
{/form:errors}
{/if} {rows}
{fields}
{if field:type == 'checkbox_group'} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{option:label}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'radio_group'} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{option:label}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'dynamic_recipients' AND field:show_as_radio} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{option:label}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'dynamic_recipients' AND field:show_as_checkboxes} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{option:label}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'table'} {field:render_label label_class="{if field:required}required{/if}"} {field:render_input class="table" add_button_label="Add +" add_button_class="button" remove_button_label="x" remove_button_class="button" table_text_input_class="" table_select_input_class="" table_checkbox_input_class="" } {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'submit'} {field:render} {if:else} {field:render class="{if field:type == 'checkbox' OR field:type == 'mailing_list'}checkbox{if:else}form-control{/if}" label_class="{if field:required}required{/if}" instructions_class="help-text" instructions_below_field="yes" } {/if}
{/fields}
{/rows}