<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
  </div>
  <table class="table table-striped">
    <thead>
      <tr>
        <th trspan="name"></th>
        <th trspan="type"></th>
        <th trspan="label"></th>
        <th trspan="logo"></th>
        <th trspan="level"></th>
        <th trspan="rule"></th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="s in currentNode.nodes">
        <td>
          <input class="form-control" ng-model="s.title" />
        </td>
        <td>
          <select class="form-control" ng-model="s.data.type">
            <option ng-repeat="item in currentNode.select" ng-selected="item.k==s.data.type" value="{{item.k}}">{{item.v}}</option>
          </select>
        </td>
        <td>
          <input class="form-control" ng-model="s.data.label" />
        </td>
        <td>
          <input class="form-control" ng-model="s.data.logo" />
        </td>
        <td>
          <input class="form-control" ng-model="s.data.level" />
        </td>
        <td>
          <input class="form-control" ng-model="s.data.rule" />
        </td>
        <td>
          <span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span>
          <span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newSfExtra'})"></span>
        </td>
      </tr>
    </tbody>
  </table>
</div>
<script type="text/menu">
[{
  "title": "newSfExtra",
  "icon": "plus-sign"
}]
</script>
