%div.embeddable-container
  .embeddable_options
    Managed interactive
    .model-edit
      .interactive-content
        %div{:id => "authorable-interactive-#{embeddable.id}"}
  = render :partial => "shared/embedded_editor_wrapper_plugins", :locals => { :embeddable => embeddable }
.embeddable_tools
  .drag_handle
  = render :partial => "shared/embedded_editor_links", :locals => { :embeddable => embeddable, :page => page, :type => 'managed_int', :allow_hide => allow_hide }
.embeddable_options
  Managed interactive
  .model-edit
    .interactive-content
      %div{:id => "authorable-interactive-#{embeddable.id}"}

%div{:id => "interactive-preview-#{embeddable.id}"}

= render :partial => "shared/embedded_editor_wrapper_plugins", :locals => { :embeddable => embeddable }

:javascript
  $(document).ready( function() {
    LARA.PageItemAuthoring.renderInteractiveAuthoringPreview(document.getElementById("interactive-preview-#{embeddable.id}"), {
      interactive: #{embeddable.to_interactive_json}
    });
  });

%div.embeddable-container
  .embeddable_options
    Managed interactive
    .model-edit
      .interactive-content
        %div{:id => "authorable-interactive-#{embeddable.id}"}
  = render :partial => "shared/embedded_editor_wrapper_plugins", :locals => { :embeddable => embeddable }
.embeddable_tools
  = render :partial => "shared/embedded_editor_links", :locals => { :embeddable => embeddable, :page => page, :type => 'managed_int', :allow_hide => allow_hide }
.embeddable_options
  Managed interactive
  .model-edit
    .interactive-content
      %div{:id => "authorable-interactive-#{embeddable.id}"}

%div{:id => "interactive-preview-#{embeddable.id}"}

= render :partial => "shared/embedded_editor_wrapper_plugins", :locals => { :embeddable => embeddable }

:javascript
  $(document).ready( function() {
    LARA.PageItemAuthoring.renderInteractiveAuthoringPreview(document.getElementById("interactive-preview-#{embeddable.id}"), {
      interactive: #{embeddable.to_interactive_json}
    });
  });

Remove old drag handle icon from managed interactive.
Remove old drag handle icon from managed interactive.

