<div id="content"
     tal:define="
       dummy python:request.form.update({'origin': 'context-menu'});
       can_delete view/can_delete;
       can_edit view/can_edit;
       is_trashed view/is_trashed;
       show_second_menu python: can_delete;
       absolute_url here/absolute_url;
     "
>
  <div id="extra-options">
    <ul class="menu">
      <li>
        <tal:bookmark replace="structure here/@@bookmark-link-iconified|nothing" />
      </li>
      <li tal:define="
            action here/@@app-audit-button|nothing;
          "
          tal:condition="action/strip|action"
          tal:content="structure action"
      ></li>
    </ul>
    <ul class="menu"
        tal:condition="show_second_menu"
    >
      <li tal:condition="can_delete">
        <tal:delete replace="structure here/@@delete-link" />
      </li>
    </ul>
  </div>
</div>
