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

10 lines
386 B
Text
Raw Normal View History

<div class="dropdown view-switch">
<a href="#" class="btn btn-light view-switch-button" id="viewSwitchButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
2020-06-04 20:48:29 +08:00
<span><%= t('general.view') %></span>
<span class="caret pull-right"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="viewSwitchButton">
<%= yield %>
</ul>
</div>