Sha256: 726d524cd3a980c9f4b805788e8b9d31a3ad67081fe4cf337d3919b0ce3951fa

Contents?: true

Size: 372 Bytes

Versions: 47

Compression:

Stored size: 372 Bytes

Contents

- permitted_resource_actions(resource, actions).each do |label, opts|
  - action = opts.delete(:action)
  - opts.delete(:class)

  = glyphicon_to(action, (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_glyphicons.html.haml
effective_resources-2.27.8 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.7 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.6 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.3 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.27.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.3 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.26.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.25.16 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.25.15 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.25.14 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.25.13 app/views/effective/resource/_actions_glyphicons.html.haml