Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
evergreen / app / views / admin / pages / _page.html.erb
Size: Mime:
<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) %>