scinote-web/app/views/shared/_view_switch.html.erb

10 lines
448 B
Text
Raw Normal View History

2020-06-17 20:05:23 +08:00
<div class="dropdown view-switch" >
2023-05-09 20:53:50 +08:00
<a href="#" class="btn btn-light view-switch-button prevent-shrink <%= "disabled" if disabled %>" id="viewSwitchButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="view-switch-btn-name"><%= name %></span>
<span class="caret pull-right"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="viewSwitchButton">
<%= yield %>
</ul>
</div>