orbit-basic/app/views/admin/pages/_show.html.erb

10 lines
287 B
Plaintext

<%= parse_page_edit(@item).html_safe %>
<% content_for :page_specific_javascript do %>
<script type="text/javascript" charset="utf-8">
$("div.editable").live("mouseenter mouseleave",
function (event) {
$(this).next('.edit_link').toggle();
});
</script>
<% end -%>