mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
15 lines
612 B
Text
15 lines
612 B
Text
<% if @navigator %>
|
|
<%= hidden_field_tag :active_navigator_item, @navigator[:id] %>
|
|
<%= hidden_field_tag :active_navigator_url, @navigator[:url] %>
|
|
<%= hidden_field_tag :active_navigator_archived, @navigator[:archived] %>
|
|
<% end %>
|
|
<div id="sciNavigationNavigatorContainer"
|
|
class="contents"
|
|
data-navigator-state-url="<%= navigator_state_navigations_path %>"
|
|
data-turbolinks-permanent data-behaviour="vue">
|
|
<navigator-container
|
|
@navigator:colapse="navigatorCollapsed = true"
|
|
:reload-current-level="reloadCurrentLevel"
|
|
:reload-children-level="reloadChildrenLevel"
|
|
/>
|
|
</div>
|