<? global $vis_language; ?>

<form class="form-horizontal" data-validate="parsley" id="vis_two_factor_auth_form" name="vis_two_factor_auth_form" method="post" >
  <div class="form-group" id="enable_status">
    <label class="col-sm-2 control-label"> <? echo $vis_language['TXTTWOFACTORAUTHENTICATION']; ?></label>
    <div class="col-sm-10">
        <label class="switch">
            <input type="checkbox" onchange="$('#enable_status').visExecution('load_area', {'vis_module':'setting', 'vis_operation':'two_factor_auth_status', 'vis_status':<? echo $two_factor_details[0]['content']==1?0:1; ?>});" <? if($two_factor_details[0]['content']) echo 'checked="checked"';?>>
            <span></span>
        </label>
    </div>
  </div>
</form>
