<div class="row" ng-controller="Camel.RestServiceController">

  <div ng-show="selectedMBean">

    <div class="row" ng-show="data.length > 0">
      <div class="pull-right">
        <form class="form-inline no-bottom-margin">
          <fieldset>
            <div class="control-group inline-block">
              <input type="text" class="search-query" placeholder="Filter..."
                     ng-model="gridOptions.filterOptions.filterText">
            </div>
          </fieldset>
        </form>
      </div>
    </div>

    <div class="row" ng-show="data.length > 0">
      <table class="table table-condensed table-striped" hawtio-simple-table="gridOptions"></table>
    </div>
    <div class="row well" ng-show="data.length == 0">
      <form>
        <p>There are no Rest Services registered in this CamelContext.</p>
      </form>
    </div>
  </div>

  <div ng-hide="selectedMBean">
    <p class="text-center"><i class="fa fa-spinner fa-spin"></i></p>
  </div>

</div>


<div class="row" ng-controller="Camel.RestServiceController">

  <div ng-show="selectedMBean">

    <div class="row" ng-show="data.length > 0">
      <div class="pull-right">
        <form class="form-inline no-bottom-margin">
          <fieldset>
            <div class="control-group inline-block">
              <input type="text" class="search-query" placeholder="Filter..."
                     ng-model="gridOptions.filterOptions.filterText">
            </div>
          </fieldset>
        </form>
      </div>
    </div>

    <div class="row" ng-show="data.length > 0">
      <table class="table table-condensed table-striped" hawtio-simple-table="gridOptions"></table>
    </div>
    <div class="row-fluid" ng-show="data.length == 0">
      <div class="span12">
        <p class="well">There are no Rest Services registered in this CamelContext.</p>
      </div>
    </div>
  </div>

  <div ng-hide="selectedMBean">
    <p class="text-center"><i class="fa fa-spinner fa-spin"></i></p>
  </div>

</div>

Remove needless <form> inside <p>
Remove needless <form> inside <p>
