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
