Sha256: 9363869caad3df5a3b6ce66fa74501108df3a1b9d2b7c7a1065ef07df90aee92

Contents?: true

Size: 620 Bytes

Versions: 44

Compression:

Stored size: 620 Bytes

Contents

<% if logged_in? && content.can_edit?(current_user) -%>
  <% if current_user.can_add_root_content? -%>
    <%= link_to t('muck.contents.add'), new_content_path, :title => t('muck.contents.add_title'), :class => 'admin-content' -%> |
  <% end -%>
  <%= link_to t('muck.contents.edit'), edit_content_path(content.id), :title => t('muck.contents.edit_this_page'), :class => 'admin-content' -%> | 
  <%= link_to t('muck.contents.delete'), content_path(content.id), :method => :delete, :title => t('muck.contents.delete_title'), :class => 'admin-content', :confirm => t('muck.contents.confirm_delete_content') -%>
<% end -%>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
muck-contents-3.1.1 app/views/contents/_admin.erb
muck-contents-3.1.0 app/views/contents/_admin.erb
muck-contents-3.0.2 app/views/contents/_admin.erb
muck-contents-3.0.1 app/views/contents/_admin.erb
muck-contents-3.0.0 app/views/contents/_admin.erb
muck-contents-0.2.27 app/views/contents/_admin.html.erb
muck-contents-0.2.26 app/views/contents/_admin.html.erb
muck-contents-0.2.25 app/views/contents/_admin.html.erb
muck-contents-0.2.24 app/views/contents/_admin.html.erb
muck-contents-0.2.23 app/views/contents/_admin.html.erb
muck-contents-0.2.22 app/views/contents/_admin.html.erb
muck-contents-0.2.21 app/views/contents/_admin.html.erb
muck-contents-0.2.20 app/views/contents/_admin.html.erb
muck-contents-0.2.18 app/views/contents/_admin.html.erb
muck-contents-0.2.17 app/views/contents/_admin.html.erb
muck-contents-0.2.16 app/views/contents/_admin.html.erb
muck-contents-0.2.15 app/views/contents/_admin.html.erb
muck-contents-0.2.14 app/views/contents/_admin.html.erb
muck-contents-0.2.13 app/views/contents/_admin.html.erb
muck-contents-0.2.12 app/views/contents/_admin.html.erb