<% content_for :left_menu do %> <%= link_to_function "Map key", "showKey();" %> <% end %>