        <div class="subnav">
            <div class="btn-group pull-right view-mode">
                <form action="" method="get">
                <button class="btn <%= "active" if params[:at].blank? %>"><i class="icon-align-justify"></i> <%= t("show_mode.index")%></button>
                <button name="at" value="summary" class="btn <%= "active" if params[:at] == "summary" %>"><i class="icon-th-list"></i> <%= t("show_mode.summary")%></button>
                <button name="at" value="thumbnail" class="btn <%= "active" if params[:at] == "thumbnail" %>"><i class="icon-th-large"></i> <%= t("show_mode.thumbnail")%></button>
            </form>
            </div>
            <ul class="nav nav-pills filter">
                <li class="accordion-group">
                    <div class="accordion-heading">
                        <a href="#collapse-status" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:status)%> <b class="web-symbol"></b></a>
                    </div>
                </li>
                <li class="accordion-group">
                    <div class="accordion-heading">
                        <a href="#collapse-category" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:category)%> <b class="web-symbol"></b></a>
                    </div>
                </li>
                <li class="accordion-group">
                    <div class="accordion-heading">
                        <a href="#collapse-tags" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:tags)%> <b class="web-symbol"></b></a>
                    </div>
                </li>
            </ul>
            <div class="filters">
                <div class="accordion-body collapse" id="collapse-status">
                    <div class="accordion-inner" data-toggle="buttons-checkbox">
                        <a href="#" class="btn">Full-Time</a>
                        <a href="#" class="btn">Part-time</a>
                        <a href="#" class="btn">Adjunct</a>
                        <a href="#" class="btn">Distinguished</a>
                    </div>
                    <div class="filter-clear">
                        <a href="#" class="btn"><i class="icons-brush-large"></i><%= t(:clear)%></a>
                    </div>
                </div>
                <div class="accordion-body collapse" id="collapse-category">
                    <div class="accordion-inner" data-toggle="buttons-checkbox">
                        <% @sub_roles.each do |sr|%>
                            <a href="#" class="btn"><%= sr.title%></a>
                        <% end -%>
                    </div>
                    <div class="filter-clear">
                        <a href="#" class="btn"><i class="icons-brush-large"></i><%= t(:clear)%></a>
                    </div>
                </div>
                <div class="accordion-body collapse" id="collapse-tags">
                    <div class="accordion-inner" data-toggle="buttons-checkbox">
                        <% @sub_role_tags.each do |sr_tag|%>
                            <a href="#" class="btn"><%= sr_tag[I18n.locale] %></a>
                        <% end -%>
                    </div>
                    <div class="filter-clear">
                        <a href="#" class="btn"><i class="icons-brush-large"></i><%= t(:clear)%></a>
                    </div>
                </div>
                <% if params[:at].blank?  #header for index%>
                    <div class="table-label">
                        <table class="table main-list">
                            <thead>
                                <tr>
                                    <th class="span1">
                                        <% if is_admin? %>
                                            <input type="checkbox">
                                            <a href class="list-remove"><i class="icon-minus-sign"></i></a>
                                        <%end%>
                                    </th>
                                <th id="sort-roles" class="sort span3"><%= t(:roles)%><b class="web-symbol"></b></th>
                                <th id="sort-name" class="sort span1-2 select active"><%= t(:name)%><b class="web-symbol"></b></th>
                                <th id="sort-email" class="sort span2"><%= t(:publications)%><b class="web-symbol"></b></th>
                                <th id="sort-admin" class="sort span2"><%= t(:courses)%><b class="web-symbol"></b></th>
                                <th id="sort-admin" class="sort span2"><%= t(:followers)%><b class="web-symbol"></b></th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <% end -%>
            </div>
        </div>