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

{% block page_title %}Reactions{% endblock %}

{% block action_button %}
  {% if meta.can_edit or not meta.url_contains_package %}
    <button
      type="button"
      class="btn btn-primary btn-sm"
      onclick="document.getElementById('new_reaction_modal').showModal(); return false;"
    >
      New Reaction
    </button>
  {% endif %}
{% endblock action_button %}

{% block action_modals %}
  {% include "modals/collections/new_reaction_modal.html" %}
{% endblock action_modals %}

{% block description %}
  <p>
    A reaction is a specific biotransformation from educt compounds to product
    compounds.
  </p>
  <a
    target="_blank"
    href="https://wiki.envipath.org/index.php/reactions"
    class="link link-primary"
  >
    Learn more &gt;&gt;
  </a>
{% endblock description %}
