mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
empty content index for basil cindex
This commit is contained in:
parent
55e3e5ea36
commit
b784d373ca
@ -59,6 +59,20 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if @content.empty? %>
|
||||
<div class="center">
|
||||
<strong>You haven't created any <%= @content_type %> pages yet.</strong>
|
||||
<br /><br />
|
||||
|
||||
<%= link_to new_polymorphic_path(@content_type.downcase), class: '' do %>
|
||||
<div class="hoverable card-panel <%= @content_type.constantize.color %> white-text" style="width: 33%; margin: 0 auto">
|
||||
<i class="material-icons left">add</i>
|
||||
Create <%= @content_type %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user