mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
9 lines
319 B
Text
9 lines
319 B
Text
<% cards.each do |card| %>
|
|
<% cache [current_user, card] do %>
|
|
<% if card.is_a? Project %>
|
|
<%= render partial: 'projects/index/project_card', locals: { project: card } %>
|
|
<% else %>
|
|
<%= render partial: 'projects/index/folder_card', locals: { folder: card } %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|