{% if meta.can_edit %}
  <li>
    <a
      role="button"
      onclick="document.getElementById('edit_rule_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-edit"></i> Edit Rule</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('set_aliases_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Set Aliases</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('set_scenario_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Set Scenarios</a
    >
  </li>
{% endif %}
<li>
  <a
    role="button"
    onclick="document.getElementById('generic_copy_object_modal').showModal(); return false;"
  >
    <i class="glyphicon glyphicon-duplicate"></i> Copy</a
  >
</li>
{% if meta.can_edit %}
  <li>
    <a
      class="button"
      onclick="document.getElementById('generic_delete_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-trash"></i> Delete Rule</a
    >
  </li>
{% endif %}
