mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
15 lines
613 B
Text
15 lines
613 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="toggleNavigatorState(true)"
|
|
:reload-current-level="reloadCurrentLevel"
|
|
:reload-children-level="reloadChildrenLevel"
|
|
/>
|
|
</div>
|