<div id="flapAgeVerify" class="tab-pane fade in boxFlex">
   <div class="row bottom-space">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">{'ageVerifySettings'|translate:"ageVerifySettingsTab"}</h1>
      </div>
   </div>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'enabled'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-4">
          {print_toggle name="age_verify][enabled" value={$body.data.age_verify.enabled}}
      </div>
   </div>

    {* Zásilka *}

   <div class="row bottom-space">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">{'packageSettings'|translate:"ageVerifySettingsTab"}</h1>
      </div>
   </div>

   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'package_enabled'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-4">
          {print_toggle name="age_verify][package][enabled" value={$body.data.age_verify.package.enabled} numeric = 1}
      </div>
   </div>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'product'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-8">
         <select class="selecter" name="data[age_verify][package][product]"
                 data-type="products" data-preload="products" data-autocomplete="Products">
             {if $body.data.age_verify.package.product}
                <option selected value="{$body.data.age_verify.package.product}">{$body.data.age_verify.package.product}</option>
             {/if}
         </select>
      </div>
   </div>

    {* VeriFace *}

   <div class="row bottom-space">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">{'verifaceSettings'|translate:"ageVerifySettingsTab"}</h1>
      </div>
   </div>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'veriface_enabled'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-4">
          {print_toggle name="age_verify][veriface][enabled" value={$body.data.age_verify.veriface.enabled} numeric = 1}
      </div>
   </div>

   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'api_key'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-8">
         <input type="text" class="form-control input-sm" name="data[age_verify][veriface][api_key]"
                value="{$body.data.age_verify.veriface.api_key}">
      </div>
   </div>
    {* Adulto *}

   {block "adulto"}
   <div class="row bottom-space">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">{'adultoSettings'|translate:"ageVerifySettingsTab"}</h1>
      </div>
   </div>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'adulto_enabled'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-4">
          {print_toggle name="age_verify][adulto][enabled" value={$body.data.age_verify.adulto.enabled} numeric = 1}
      </div>
   </div>
   {/block}

   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'private_key'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-8">
         <input type="text" class="form-control input-sm" name="data[age_verify][adulto][private_key]"
                value="{$body.data.age_verify.adulto.private_key}">
      </div>
   </div>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'public_key'|translate:"ageVerifySettingsTab"}</label>
      </div>
      <div class="col-md-8">
         <input type="text" class="form-control input-sm" name="data[age_verify][adulto][public_key]"
                value="{$body.data.age_verify.adulto.public_key}">
      </div>
   </div>

</div>
