{% extends "base.html" %} {% block title %}{{ title }}{% endblock %} {% block content %}

{{ title }}

{{ form.hidden_tag() }} {% if form.errors %}
{{ _('Form errors:') }}
    {% for field_name, errors in form.errors.items() %} {% for error in errors %}
  • {{ field_name }}: {{ error }}
  • {% endfor %} {% endfor %}
{% endif %}
{{ form.sito(class="form-select", required=True) }} {% if form.sito.errors %}
{{ form.sito.errors[0] }}
{% endif %}
{{ form.numero_inventario(class="form-control", required=True) }} {% if form.numero_inventario.errors %}
{{ form.numero_inventario.errors[0] }}
{% endif %}
{{ form.n_reperto(class="form-control") }}
{{ form.schedatore(class="form-control") }}
{{ form.date_scheda(class="form-control", placeholder="YYYY-MM-DD") }} {{ _('Format: YYYY-MM-DD') }}
{{ form.years(class="form-control", placeholder="YYYY") }}
{{ form.tipo_reperto(class="form-select") }} {{ _('Controlled vocabulary from thesaurus') }}
{{ form.criterio_schedatura(class="form-control") }}
{{ form.definizione(class="form-control") }}
{{ form.tipo(class="form-control") }}
{{ form.tipo_contenitore(class="form-control") }}
{{ form.struttura(class="form-control") }}
{{ form.descrizione(class="form-control", rows=6) }}
{{ _('Archaeological Context:') }} {{ _('Information about the stratigraphic origin of the artifact') }}
{{ form.area(class="form-control") }}
{{ form.us(class="form-control") }}
{{ form.punto_rinv(class="form-control") }} {{ _('Specify the exact location of the find') }}
{{ form.elementi_reperto(class="form-control", rows=4) }} {{ _('Describe the constituent elements of the artifact') }}
{{ form.stato_conservazione(class="form-select") }} {{ _('Controlled vocabulary from thesaurus') }}
{{ form.lavato(class="form-select") }}
{{ form.nr_cassa(class="form-control") }}
{{ form.luogo_conservazione(class="form-control") }}
{{ form.repertato(class="form-select") }} {{ _('Has the artifact been catalogued?') }}
{{ form.diagnostico(class="form-select") }} {{ _('Is the artifact diagnostic for dating?') }}
{{ _('Tips') }}
  • {{ _('Catalogued:') }} {{ _('Indicates if the artifact has been photographically documented') }}
  • {{ _('Diagnostic:') }} {{ _('Indicates if the artifact is significant for dating the layer') }}
{{ _('Note:') }} {{ _('This tab is specific for ceramic artifacts') }}
{{ form.corpo_ceramico(class="form-select") }} {{ _('Controlled vocabulary from thesaurus') }}
{{ form.rivestimento(class="form-select") }} {{ _('Controlled vocabulary from thesaurus') }}
{{ form.diametro_orlo(class="form-control", placeholder=_('e.g. 12.5')) }}
{{ form.eve_orlo(class="form-control", placeholder=_('e.g. 0.25')) }} {{ _('Estimated Vessel Equivalent (preserved fraction 0-1)') }}
{{ _('Weight and Quantitative Measurements') }}
{{ form.peso(class="form-control", placeholder=_('e.g. 125.5')) }}
{{ form.totale_frammenti(class="form-control", placeholder=_('e.g. 5')) }}
{{ form.forme_minime(class="form-control", placeholder=_('e.g. 1')) }} {{ _('Minimum number of individuals') }}
{{ form.forme_massime(class="form-control", placeholder=_('e.g. 3')) }} {{ _('Maximum number of individuals') }}
{{ form.misurazioni(class="form-control", rows=4) }} {{ _('Other measurements: length, width, height, thickness, etc.') }}
{{ form.datazione_reperto(class="form-control") }} {{ _('Proposed dating for the artifact') }}
{{ form.tecnologie(class="form-control", rows=4) }} {{ _('Production and processing techniques') }}
{{ form.rif_biblio(class="form-control", rows=4) }} {{ _('Bibliographic citations related to the artifact') }}
{{ form.negativo_photo(class="form-control") }}
{{ form.diapositiva(class="form-control") }}
{% if edit_mode and inv_id %}
{{ _('Media Files') }}
{{ _('Upload Media') }}

Drag & drop files here or click to browse

Supports: images, documents, videos, audio, 3D models

{% if media_list %}
{% for media in media_list %}
{% if media.media_type == 'image' and media.media_path %} {{ media.media_name }} {% elif media.media_type == 'document' %} {% elif media.media_type == 'video' %} {% elif media.media_type == 'audio' %} {% elif media.media_type == 'spreadsheet' %} {% elif media.media_type == 'docx' %} {% elif media.media_type == '3d_model' %} {% else %} {% endif %}

{{ media.media_name }}

{% if media.description %}

{{ media.description[:50] }}{% if media.description|length > 50 %}...{% endif %}

{% endif %} {% if media.is_primary %} {{ _('Primary') }} {% endif %}
{% endfor %}
{% else %}
{{ _('No media files have been uploaded for this artifact yet.') }} {{ _('Upload your first file') }}
{% endif %}
{% endif %}
{{ _('Cancel') }}
{% endblock %}