Sha256: 83fc12471fe633d7389d7ca959de0e8c20a5efb36b902c416e6d1f45adfcd4be

Contents?: true

Size: 297 Bytes

Versions: 7

Compression:

Stored size: 297 Bytes

Contents

<% table_name = resource.class.table_name %>
<% resource_to_edit = resource.class.where("#{table_name}.id > ?", resource.id).order("#{table_name}.id ASC").first %>
<% if resource_to_edit %>
  <%= link_to "#{active_admin_config.resource_label} ->", edit_resource_path(resource_to_edit) %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
goldencobra-2.3.4 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-2.3.3 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-1.4.27 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-1.4.0 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-1.3.4 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-1.2.8 app/views/goldencobra/admin/shared/_next_item.html.erb
goldencobra-1.2.0 app/views/goldencobra/admin/shared/_next_item.html.erb