def title_bar(pageTitle, links)
      haml_tag :div, :id => "title_bar" do

        haml_tag :div, :id => "titlebar_left" do
          haml_tag :div, :class => "breadcrumb" do
            haml_concat(render_navigation  :context => :ems, :renderer => :breadcrumbs, :join_with => " &gt; ")
          end
          haml_tag :h2, :id => "page_title" do
            haml_concat(pageTitle)
          end
        end

        if links
          haml_tag :div, :id => "titlebar_right" do
            haml_tag :div, :class => "action_items" do
              links.each do |link|
                haml_tag :span, :class => "action_item" do
                  haml_tag :a, :href =>link["url"] do
                    haml_concat(link["title"])
                  end
                end
              end
            end
          end
        end
      end
    end
def title_bar(pageTitle, links)
      haml_tag :div, :id => "title_bar" do

        haml_tag :div, :id => "titlebar_left" do
          haml_tag :div, :class => "breadcrumb" do
            haml_concat(render_navigation  :context => :ems, :renderer => :breadcrumbs, :join_with => " &gt; ")
          end
          haml_tag :h2, :id => "page_title" do
            haml_concat(pageTitle)
          end
        end

        if links
          haml_tag :div, :id => "titlebar_right" do
            haml_tag :div, :class => "action_items" do
              links.each do |link|
                haml_tag :span, :class => "action_item" do
                  haml_tag :a, :href =>link["url"] do
                    haml_concat(link["title"])
                  end
                end
              end
            end
          end
        end
      end
    end
Titles