<div ng-controller="ARTEMIS.AddressController">
  <div class="row-fluid">

    <div class="control-group">
      <div class="alert">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>Warning:</strong> these operations cannot be undone. Please be careful!
      </div>
    </div>
  </div>
  <div class="row-fluid">
    <div class="span4">
      <div class="control-group">
        <button type="submit" class="btn btn-warning" ng-click="deleteDialog = true">Delete address '{{name().unescapeHTML()}}'</button>
        <label>This will remove the address completely.</label>
      </div>
    </div>
  </div>

  <div hawtio-confirm-dialog="deleteDialog"
       ok-button-text="Delete"
       on-ok="deleteAddress()">
    <div class="dialog-body">
      <p>You are about to delete the <b>{{name().unescapeHTML()}}</b> address</p>
      <p>This operation cannot be undone so please be careful.</p>
    </div>
  </div>



</div>
