2020-06-17 20:05:23 +08:00
|
|
|
<div class="dropdown view-switch" >
|
|
|
|
<a href="#" class="btn btn-light view-switch-button <%= "disabled" if disabled %>" id="viewSwitchButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
2020-06-04 20:48:29 +08:00
|
|
|
<span><%= t('general.view') %></span>
|
2020-06-03 19:42:09 +08:00
|
|
|
<span class="caret pull-right"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="viewSwitchButton">
|
2021-01-29 05:47:08 +08:00
|
|
|
<li class="divider-label"><%= t("general.set_view_type") %></li>
|
2020-06-03 19:42:09 +08:00
|
|
|
<%= yield %>
|
|
|
|
</ul>
|
|
|
|
</div>
|