%h3.page_title Project Network Graph
%hr

.clearfix
  .pull-left
    = render partial: 'shared/ref_switcher', locals: {destination: 'graph', path: @path}

  .search.pull-right
    = form_tag project_graph_path(@project, params[:id]), method: :get do |f|
      .control-group
        = label_tag :search , "Looking for commit:", class: 'control-label light'
        .controls
          = text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input xlarge"
          = button_tag type: 'submit', class: 'btn vtop' do
            %i.icon-search

