{% extends "collections/paginated_base.html" %}

{% block page_title %}Pathways{% endblock %}

{% block action_button %}
  {% if meta.can_edit or not meta.url_contains_package %}
    <div class="flex items-center gap-2">
      <a
        class="btn btn-primary btn-sm"
        href="{% if meta.current_package %}{{ meta.current_package.url }}/predict{% else %}/predict{% endif %}"
      >
        New Pathway
      </a>
    </div>
  {% endif %}
{% endblock action_button %}

{% block description %}
  <p>
    A pathway displays the (predicted) biodegradation of a compound as graph.
  </p>
  <a
    target="_blank"
    href="https://wiki.envipath.org/index.php/pathways"
    class="link link-primary"
  >
    Learn more &gt;&gt;
  </a>
{% endblock description %}
