Sha256: 365067ba1dbde53aea323b8b157dd36e70a8f54b8d3e92c8addcb1be72a1c02d

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

para do
  if authorized?(:edit, Pageflow::Entry)
    span(link_to(I18n.t("admin.entries.editor"), pageflow.edit_entry_path(entry), :class => 'editor button'))
  end
  span(link_to(I18n.t("admin.entries.preview"), preview_admin_entry_path(entry), :class => 'preview button'))
  if entry.published?
    span(link_to(I18n.t("admin.entries.show_public"), pageflow.short_entry_path(entry), :class => 'show_public button'))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-0.2.1 app/views/admin/entries/_links.html.arb
pageflow-0.2.0 app/views/admin/entries/_links.html.arb