app/views/opportunities/_title_bar.html.haml
#confirm{ hidden }
.title_tools#menu
= link_to_inline(:edit_opportunity, edit_opportunity_path(@opportunity), text: t(:edit)) + " | "
= link_to_function(t(:delete) + '?', confirm_delete(@opportunity))
.title_tools#buttons
= view_buttons
.title#edit_opportunity_title
= h(@opportunity.name)
= image_tag("loading.gif", size: :thumb, id: "loading", style: "display: none;")
%div#edit_opportunity{ hidden }