Sha256: e340191e9e75fcdd1df04ded828b872cdae4cc4b8e77ec18f82a5433e324709a

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pageflow-0.1.0 app/views/admin/entries/_links.html.arb
pageflow-0.0.5 app/views/admin/entries/_links.html.arb
pageflow-0.0.4 app/views/admin/entries/_links.html.arb
pageflow-0.0.3 app/views/admin/entries/_links.html.arb
pageflow-0.0.2 app/views/admin/entries/_links.html.arb
pageflow-0.0.1 app/views/admin/entries/_links.html.arb