{% extends 'base.html' %} {% block body %} {# tinymce or markdown? #} {% set editor = 'tiny' %} {% if Entity.Users.userData.use_markdown or App.Request.query.get('editor') == 'md' %} {% set editor = 'md' %} {% endif %} {% if App.Request.query.get('editor') == 'tiny' %} {% set editor = 'tiny' %} {% endif %} {% embed 'view-edit.html' %} {% block backtoview %} {{ 'View mode'|trans }} {% endblock %} {% block createnew %} {% include('create-new.html') %} {% endblock %} {% block createmodal %} {% include('show-view-edit.html') %} {% endblock %} {% endembed %}
{% if Entity.entityData.tags|length > 0 %} {% set tagsIdArr = Entity.entityData.tags_id|split(',') %} {% set tagsValueArr = Entity.entityData.tags|split('|') %} {% for tag in tagsValueArr %} {{ tag|raw }} {% endfor %} {% endif %}
{{ App.Csrf.getHiddenInput|raw }}
{% if Entity.type == 'items' %}
{% for i in range(1, 5) %} {% endfor %}
{% endif %}

{{ 'Title'|trans }}

{% if Entity.type == 'experiments' %}

{% trans %}Experiment{% plural 1 %}Experiments{% endtrans %}

{% else %}

{{ 'Information'|trans }}

{% endif %} {% if editor == 'md' %} {% else %} {% endif %}
{% include('steps-links-edit.html') %}

{{ 'Attach a file'|trans }}

{{ include('uploads.html') }} {% if Entity.Users.userData.json_editor %} {{ include('json-editor.html') }} {% endif %}

{{ 'Draw something'|trans }}

{% if Entity.Users.userData.chem_editor %}

{{ 'Molecule drawer'|trans }}

{% endif %}
{% endblock body %}