<div id="flapAgeVerify" class="tab-pane fade in boxFlex">
   <legend>{'flapAgeVerify'|translate: "ageVerifyUsersTab"}</legend>
   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'legalAge'|translate: "ageVerifyUsersTab"}</label>
      </div>
      <div class="col-md-4">
          {print_select name="age_verification[legal_age]" var=[0 => '','N' => 'Ne','Y' => 'Ano'] selected=$tab.data.age_verification.legal_age}
      </div>
   </div>

   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'legalAgeUpdated'|translate: "ageVerifyUsersTab"}</label>
      </div>
      <div class="col-md-4">
         <input type="text" class="form-control input-sm" value="{$tab.data.age_verification.date_updated|format_datetime:"admin"}" readonly>
      </div>
   </div>

   <div class="form-group">
      <div class="col-md-2 control-label">
         <label>{'verificationType'|translate: "ageVerifyUsersTab"}</label>
      </div>
      <div class="col-md-4">
          {print_select name="age_verification[verification_type]" var=$tab.data.verification_types selected=$tab.data.age_verification.verification_type}
      </div>
   </div>
   {if $tab.data.age_verification.id_order}
      <div class="form-group">
         <div class="col-md-4 control-label">
            <label>Uživatel již vytvořil ověřovací <a href="javascript:nw('orders', {$tab.data.age_verification.id_order})">objednávku.</a></label>
         </div>
         <div class="col-md-2">
            <button type="submit" class="btn btn-danger" name="acn" value="removeVerificationOrder">Odpárovat objednávku</button>
         </div>
      </div>
   {/if}
   {if $tab.data.oauth}
      <div class="form-group">
         <div class="col-md-5 control-label">
            <label>Uživatel má propojený účet na Bankovní identitu.</label>
         </div>
      </div>
   {/if}
</div>
