<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<ul class="nav nav-tabs">

    <c:if test="${not empty source}">
        <c:set var="m" value="${source}"/>
    </c:if>
    <c:if test="${not empty parent}">
        <c:set var="m" value="${parent}"/>
    </c:if>

    <c:set var="id" value="${m.id}"/>

    <c:if test="${not empty id}">
        <li ${op eq '查看' ? 'class="active"' : ''}>
            <a href="${ctx}/basetree/${id}?BackURL=<base:BackURL/>">
                <i class="icon-eye-open"></i>
                查看
            </a>
        </li>

        <li ${op eq '修改' ? 'class="active"' : ''}>
            <a href="${ctx}/basetree/${id}/update?BackURL=<base:BackURL/>">
                <i class="icon-edit"></i>
                修改
            </a>
        </li>
    </c:if>

</ul>
