<div class="panel panel-default"
     ng-if="vm.sambo.isActive() && (canConfigureExtGsmAntenna || canConfigureModemMode || canConfigureIncomingCalls)">
  <div class="panel-heading">
    <h3 class="panel-title" translate>Настройки GSM</h3>
  </div>
  <div class="panel-body">
    <form class="form-horizontal" role="form">

      <div class="form-group" ng-if="canConfigureIncomingCalls">
        <div class="col-md-8">
          <div class="checkbox">
            <label class="control-label">
              <input type="checkbox"
                     ng-model="vm.misc().incoming_call_enabled"
                     ng-true-value="1"
                     ng-false-value="0">
              <translate>Разрешить входящие звонки и SMS</translate>
            </label>
          </div>
        </div>
      </div>

      <div class="form-group" ng-if="canConfigureExtGsmAntenna">
        <div class="col-md-8">
          <div class="checkbox">
            <label class="control-label">
              <input type="checkbox"
                     ng-model="vm.misc().gsm_use_ext_ant"
                     ng-true-value="1"
                     ng-false-value="0">
              <translate>Использовать внешнюю антенну для передачи по GSM</translate>
            </label>
          </div>
        </div>
      </div>

      <div class="form-group" ng-if="canConfigureModemMode">
        <div class="col-md-8">
          <div class="checkbox">
            <label class="control-label">
              <input type="checkbox"
                     ng-model="vm.misc().modem_mode"
                     ng-true-value="1"
                     ng-false-value="0">
              <translate>Принудительная работа в 2G</translate>
            </label>
          </div>
        </div>
      </div>

    </form>
  </div>
</div>
