def manageable_breadcrumbs(options = {})
      items = Helpers::NavigationBuilder.new
      yield items if block_given?

      options[:class] ||= ""
      options[:class] << " breadcrumb"
      options[:class].strip!

      content_tag("div", options) do
        content_tag("ul") do
          items.collect { |item|
            content_tag("li", :class => item[:class]) do
              if item[:active]
                item[:label]
              else
                link_to(item[:label], item[:href])
              end
            end
          }.join("").html_safe
        end
      end
    end
def manageable_breadcrumbs(options = {})
      items = Helpers::NavigationBuilder.new
      yield items if block_given?

      options[:class] ||= ""
      options[:class] << " breadcrumb"
      options[:class].strip!

      content_tag("div", options) do
        content_tag("ul") do
          items.collect { |item|
            content_tag("li", :class => item[:class]) do
              if item[:active]
                item[:label]
              else
                link_to(item[:label], item[:href])
              end
            end
          }.join("").html_safe
        end
      end
    end
Displays a breadcrumb trail

 options - A hash of attributes to apply to the wrapping div tag

 Example:
   <div class="block">
     <div class="content">
       <h2><%= @news_item.title %></h2>
       <p><%= @news_item.content %></p>
     </div>
     <%= breadcrumbs do |b|
       b.item "Home", root_path
       b.item "News", news_path
       b.item "Awesome New Things", news_path(@news_item), :active => true
     %>
   </div>

 Returns the breadcrumb trail.