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.5.0.pre1 lib/active_admin/views/action_items.rb
activeadmin-0.5.0.pre lib/active_admin/views/action_items.rb
activeadmin-0.4.4 lib/active_admin/views/action_items.rb
activeadmin-0.4.3 lib/active_admin/views/action_items.rb
activeadmin-0.4.2 lib/active_admin/views/action_items.rb
activeadmin-0.4.1 lib/active_admin/views/action_items.rb
activeadmin-0.4.0 lib/active_admin/views/action_items.rb
andrewroth_activeadmin-0.3.4.4 lib/active_admin/views/action_items.rb
andrewroth_activeadmin-0.3.4.3 lib/active_admin/views/action_items.rb
andrewroth_activeadmin-0.3.4.2 lib/active_admin/views/action_items.rb
andrewroth_activeadmin-0.3.4.1 lib/active_admin/views/action_items.rb
andrewroth_activeadmin-0.3.4 lib/active_admin/views/action_items.rb
activeadmin-0.3.4 lib/active_admin/views/action_items.rb
activeadmin-0.3.3 lib/active_admin/views/action_items.rb
activeadmin-0.3.2 lib/active_admin/views/action_items.rb
activeadmin-0.3.1 lib/active_admin/views/action_items.rb
activeadmin-0.3.0 lib/active_admin/views/action_items.rb
nsm-activeadmin-0.2.2 lib/active_admin/views/action_items.rb
saulolso-activeadmin-0.2.2.1 lib/active_admin/views/action_items.rb
saulolso-activeadmin-0.2.2 lib/active_admin/views/action_items.rb