<h4 class="bg-primary">Choose a system to permanently delete</h4>

<form name="systemDeleteForm" ng-submit="systemDeleteForm.$valid" enter-press="systemDeleteForm.$valid && doNext()" novalidate>
  <div class="radio" ng-repeat="system in systems" ng-if="!dealerCompany && !system.dealer_id">
    <label>
      <input type="radio" name="name" ng-model="sysToDel.id" ng-value="system.id" required>
      {{system.name}}
    </label>
  </div>
  <div class="radio" ng-repeat="system in systems" ng-if="dealerCompany && system.id === currentSystemId">
    <label>
      <input type="radio" name="name" ng-model="sysToDel.id" ng-value="system.id" required>
      {{system.name}}
    </label>
  </div>
  <button class="btn btn-danger pull-right" type="submit" ng-disabled="!sysToDel.id || systemDeleteForm.$invalid"
          data-template="views/modal-tpls/delete-system.html" bs-modal><i class="fa fa-lg fa-trash-o"></i>&nbsp;&nbsp;Delete
  </button>
</form>
