@model StubCore.Entities.ProfileNodes
@using StubCore.Entities

@if (Model.keyName != null)
{
    <li id="@Model.id">
        <div class="contentBlock">@Model.keyName</div>
        <div class="actionBlock">
            <a data-value="@Model.keyName" data-action="edit" data-type="node" href="#" class="sActionButton jsAction" style="display:none">Edit</a>
            <a data-value="@Model.keyName" data-ref="0" data-route="add" data-action="delete" data-type="node" href="#" class="sActionButton jsAction">Delete</a>
        </div>
    </li>
}
else
{
    <li class="noresults node">No nodes was found</li>
    <script>
        alert("Key node name can not be empty");
    </script>
}



