%div %ul.nav.nav-tabs %li.active = link_to(t(".term_and_accounts"),"#q1_area",{role: "tab",aria: {controls: "q1_area"},data: {toggle: "tab"}}) %li = link_to(t(".targets"),"#q2_area",{role: "tab",aria: {controls: "q2_area"},data: {toggle: "tab"}}) .tab-content #q1_area.tab-pane.active{role: :tabpanel} = render "search_form",q: @q1 #q2_area.tab-pane{role: :tabpanel} = render "access_log_mynumbers/search_form",q: @q2