{{navigation}}

{{form_builder_edit_link}}

<h2>{{$review_page_title}}</h2>

<p>
  Please review the information below to confirm it is correct. If you need to edit any
  values, just click the EDIT link at the top right of the section.
</p>

<form action="{{$page_url}}" method="post" enctype="multipart/form-data">
{{foreach from=$grouped_fields item=curr_group}}
  {{assign var=group value=$curr_group.group}}
  {{assign var=fields value=$curr_group.fields}}

  {{if $fields|@count > 0}}
  <h3><a href="?page={{$group.custom_data|default:1}}#s{{$group.group_id}}">EDIT</a>{{$group.group_name|upper}}</h3>
 
    <table class="ts_review_table" cellpadding="0" cellspacing="0" border="0" width="100%">
  {{/if}}

  {{foreach from=$fields item=curr_field}}
    <tr>
      <td valign="top" width="200">{{$curr_field.field_title}}</td>
      <td valign="top">
        {{edit_custom_field form_id=$form_id submission_id=$submission_id
          field_info=$curr_field field_types=$field_types settings=$settings}}
      </td>
    </tr>
  {{/foreach}}

  {{if $fields|@count > 0}}
    </table>
    
    <br />
  {{/if}}
{{/foreach}}

{{continue_block}}

</form>
