Sha256: 8365f156d335dc346b3097d599f1f75482015bbb5d5eb69f92bc1c213f72ec7c

Contents?: true

Size: 300 Bytes

Versions: 83

Compression:

Stored size: 300 Bytes

Contents

module ActiveAdmin
  module Views

    class ActionItems < ActiveAdmin::Component

      def build(action_items)
        action_items.each do |action_item|
          span :class => "action_item" do
            instance_eval(&action_item.block)
          end
        end
      end

    end

  end
end

Version data entries

83 entries across 83 versions & 7 rubygems

Version Path
activeadmin-0.6.6 lib/active_admin/views/action_items.rb
activeadmin-0.6.5 lib/active_admin/views/action_items.rb
activeadmin-0.6.4 lib/active_admin/views/action_items.rb
yousty-activeadmin-1.0.4.pre lib/active_admin/views/action_items.rb
yousty-activeadmin-1.0.3.pre lib/active_admin/views/action_items.rb
yousty-activeadmin-1.0.2.pre lib/active_admin/views/action_items.rb
activeadmin-0.6.3 lib/active_admin/views/action_items.rb
yousty-activeadmin-1.0.1.pre lib/active_admin/views/action_items.rb
yousty-activeadmin-1.0.0.pre lib/active_admin/views/action_items.rb
activeadmin-0.6.2 lib/active_admin/views/action_items.rb
activeadmin-0.6.1 lib/active_admin/views/action_items.rb
aa-rails4-0.6.0 lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.141 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.136 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.135 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.134 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.133 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.132 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.131 vendor/deps/active_admin/lib/active_admin/views/action_items.rb
lalala-4.0.0.dev.129 vendor/deps/active_admin/lib/active_admin/views/action_items.rb