Sha256: 6c9632c816ae2eb2c7d6c545d450e7523641efa1062a43d88ec5b0273ad718b9

Contents?: true

Size: 341 Bytes

Versions: 47

Compression:

Stored size: 341 Bytes

Contents

- permitted_resource_actions(resource, actions).each do |label, opts|
  - action = opts.delete(:action)
  = link_to(label, (effective_resource.action_path(action, resource) || '#'), opts)

- if local_assigns[:format_block] && local_assigns[:datatable]
  = instance_exec(resource, datatable, &format_block)

= yield(resource) if block_given?

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
effective_resources-2.27.9 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.8 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.7 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.6 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.5 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.4 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.3 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.2 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.1 app/views/effective/resource/_actions.html.haml
effective_resources-2.27.0 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.5 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.4 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.3 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.2 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.1 app/views/effective/resource/_actions.html.haml
effective_resources-2.26.0 app/views/effective/resource/_actions.html.haml
effective_resources-2.25.16 app/views/effective/resource/_actions.html.haml
effective_resources-2.25.15 app/views/effective/resource/_actions.html.haml
effective_resources-2.25.14 app/views/effective/resource/_actions.html.haml
effective_resources-2.25.13 app/views/effective/resource/_actions.html.haml