Repository URL to install this package:
|
Version:
4.2.0 ▾
|
<span>
<%= link_to page.title, admin_evergreen_path(:edit, page) %>
</span>
<nav class="controls">
<% if page.drafted? %>
<%= link_to admin_evergreen_path(:preview, page), title: 'Preview',
target: '_blank' do %>
<i class="fa fa-eye"></i>
<% end %>
<% else %>
<%= link_to page_path(page), title: 'View Live (in a new window)',
target: '_blank' do %>
<i class="fa fa-share"></i>
<% end %>
<% end %>
<%= link_to admin_evergreen_path(:new, page, params: { parent_id: page.id }),
title: 'Add child item' do %>
<i class="fa fa-plus-circle"></i>
<% end %>
<%= link_to admin_evergreen_path(:edit, page), title: 'Edit' do %>
<i class="fa fa-edit"></i>
<% end %>
<%= link_to admin_evergreen_path(:destroy, page), method: :delete,
confirm: 'Are you sure you want to delete this?',
title: 'Delete' do %>
<i class="fa fa-trash-o"></i>
<% end %>
</nav>
<%= drafted_label(page) %>
<%= hidden_label(page) %>