{% from 'oligonucleotides/form.html' import primer_add_form %} {% macro pane_details(status, pane_id, oligonucleotide, form) %}

Details

{% if current_user.has_permission('add-oligonucleotide') %} {% if oligonucleotide.deletable %} {% endif %} {% endif %}
{{ oligonucleotide.formatted_seq()|safe }}
Database ID {{ oligonucleotide.id }}
Entry created {{ oligonucleotide.timestamp_created | format_datetime }}
Origin {{ oligonucleotide.origin }}
Last update {{ oligonucleotide.timestamp_edited | format_datetime }}
Label {{ oligonucleotide.label }}
Owner {{ oligonucleotide.owner.username }}
Order date {{ oligonucleotide.date_ordered | format_date }}
Storage place {{ oligonucleotide.storage_place }}
Length {{ oligonucleotide|length }} bases
GC content {{ oligonucleotide.gc_content | round(1) }}%
{% if oligonucleotide.description %}

Description

{{ oligonucleotide.description }}

{% endif %}
{{ primer_add_form(form, "oligonucleotides.edit", "PUT", oligonucleotide.id) }} {% endmacro %}