scinote-web/app/views/shared/smart_annotation/_repository_items.html.erb

10 lines
368 B
Plaintext
Raw Normal View History

2020-09-04 22:48:53 +08:00
<% repository_rows.each do |row| %>
<li data-name="<%= row[:name] %>" data-id="<%= row[:id] %>" data-type="rep_item">
[<%= row[:repository_tag] %>] <%= row[:name] %>
</li>
<% end %>
2020-09-07 16:46:51 +08:00
<% if repository_rows.empty? %>
<%= render partial: 'shared/smart_annotation/no_results.html.erb' %>
<% end %>
<%= render partial: 'shared/smart_annotation/footer.html.erb' %>