scinote-web/app/views/shared/smart_annotation/_project_items.html.erb
2020-09-09 14:17:19 +02:00

12 lines
486 B
Text

<div class="atwho-scroll-container">
<% projects.each do |project| %>
<li class="item" data-name="<%= project.name %>" data-id="<%= project.id.base62_encode %>" data-type="prj">
<span class='sa-type'>Prj</span>
<span class="item-text"><%= project.name %></span>
</li>
<% end %>
<% if projects.empty? %>
<%= render partial: 'shared/smart_annotation/no_results.html.erb' %>
<% end %>
</div>
<%= render partial: 'shared/smart_annotation/footer.html.erb' %>