def page_header *args, &block
      if block_given?
        size = (1..6) === args.first ? args.first : 1
        content_tag :div, :class => "page-header" do
          content_tag "h#{size}" do
            capture(&block)
          end
        end
      else
        title = args.first
        size = (1..6) === args.second ? args.second : 1
        content_tag :div, content_tag("h#{size}", title), :class => "page-header"
      end
    end
def page_header *args, &block
      if block_given?
        size = (1..6) === args.first ? args.first : 1
        content_tag :div, :class => "page-header" do
          content_tag "h#{size}" do
            capture(&block)
          end
        end
      else
        title = args.first
        size = (1..6) === args.second ? args.second : 1
        content_tag :div, content_tag("h#{size}", title), :class => "page-header"
      end
    end
title, size = 1

 size = 1, &block