<div class="panel-sidebar">
    <div class="panel-title">
        <div class="title-bar">
            <h2><%= secondMenu[action].title %></h2>
        </div>
    </div>
    <div class="scrollbar-auto">
        <div class="nav-box">
            <ul class="nav-list list-unstyled">
                <% for (let tmp in secondMenu) { %>
                <li <% if (secondMenu[tmp].name === action) { %>class="active"
                        <% } %>
                ><a href="<%= secondMenu[tmp].url %>"><span><%= secondMenu[tmp].title %></span></a></li>
                <% } %>
            </ul>
        </div>
    </div>
</div>