Sha256: eb21047eb72986097441f370ee1906b8a2e681d993b860e228b5a8d0ec5ded7a
Contents?: true
Size: 601 Bytes
Versions: 9
Compression:
Stored size: 601 Bytes
Contents
- show_path = (datatable.admin_namespace? ? effective_trash.admin_trash_path(trash) : effective_trash.trash_path(trash)) - if defined?(EffectiveBootstrap) = dropdown(variation: :dropleft) do = dropdown_link_to 'View', show_path = dropdown_link_to 'Restore from Trash', effective_trash.restore_trash_path(trash), data: { confirm: 'Restore this item?'} - else = link_to show_path, title: 'view' do %span.glyphicon.glyphicon-eye-open = link_to effective_trash.restore_trash_path(trash), title: 'Restore', data: {confirm: 'Restore this item?'} do %span.glyphicon.glyphicon-retweet
Version data entries
9 entries across 9 versions & 1 rubygems