mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
14 lines
464 B
Text
14 lines
464 B
Text
<% provide(:head_title, t("search.index.head_title")) %>
|
|
|
|
<div id="GlobalSearch" class="contents">
|
|
<global_search
|
|
:query="'<%= @display_query %>'"
|
|
:search-url="'<%= search_path(format: :json) %>'"
|
|
teams-url="<%= visible_teams_teams_path %>"
|
|
users-url="<%= visible_users_teams_path %>"
|
|
:single-team="<%= current_user.teams.count == 1 %>"
|
|
current-team="<%= current_team.id %>"
|
|
/>
|
|
</div>
|
|
|
|
<%= javascript_include_tag "vue_global_search" %>
|