<div class="modal-body" style="overflow: auto;">
    <h3>{{schema.title}}</h3>
    <div class="buttons-on-top-modal{{formName}}"></div>
    <hr>
    <form name="linkedModelForm" sf-schema="schema" sf-form="form" sf-model="model" modal-form-locator></form>
    <div ng-repeat="node in Node">
        <h3>{{ node.title }}
        <span ng-if="node.lengthModels < 1">
            <a modal-for-nodes="{{node.schema.model_name}},Node">
                <i class="fa fa-plus-circle fa-fw"></i>
            </a>
        </span>
        </h3>

        <div class="node-table">
            <ng-include src="'shared/templates/nodeTable.html'"></ng-include>
        </div>
        <hr>
    </div>
    <div ng-repeat="node in ListNode">
        <h3>{{ node.title }}
        <span>
            <a modal-for-nodes="{{node.schema.model_name}},ListNode,add">
                <i class="fa fa-plus-circle fa-fw"></i>
            </a>
        </span>
        </h3>

        <div class="list-node-table">
            <ng-include src="'shared/templates/nodeTable.html'"></ng-include>
        </div>
        <hr>
    </div>
    <hr>
    <div class="buttons-on-bottom-modal{{formName}}"></div>
</div>
<div class="modal-footer">

    <!--<button type="submit" class="btn btn-primary" ng-click="onSubmit(linkedModelForm)">OK</button>-->
    <button type="button" class="btn btn-warning" ng-click="cancel()">Cancel</button>
</div>