{% extends "base.html" %} {% block title %}{% if artwork %}Edit {{ artwork.title }}{% else %}Add Artwork{% endif %} — ArtNode{% endblock %} {% block content %}
{{ form.hidden_tag() }}
Basic Information
{{ form.title.label(class="form-label") }}{{ form.title(class="form-control", placeholder="Artwork title") }}{% if form.title.errors %}
{{ form.title.errors[0] }}
{% endif %}
{{ form.artist_id.label(class="form-label") }}{{ form.artist_id(class="form-control") }}
{{ form.year_from.label(class="form-label") }}{{ form.year_from(class="form-control", placeholder="e.g. 1953") }}
{{ form.year_to.label(class="form-label") }}{{ form.year_to(class="form-control", placeholder="if range") }}
{% for lang in ["de","fr","it","en"] %}
{{ lang|upper }}
{% endfor %}
{{ form.dimensions.label(class="form-label") }}{{ form.dimensions(class="form-control", rows=2, placeholder="e.g. 100 x 80 cm") }}
{% for lang in ["de","fr","it","en"] %}
{{ lang|upper }}
{% endfor %}
Ownership
{{ form.ownership_type.label(class="form-label") }}{{ form.ownership_type(class="form-control", id="ownershipType") }}
{{ form.acquisition_cost.label(class="form-label") }}{{ form.acquisition_cost(class="form-control", placeholder="0.00") }}
{{ form.acquisition_date.label(class="form-label") }}{{ form.acquisition_date(class="form-control") }}

Used to calculate gallery profit on sale.

Classification & Status
{{ form.object_type.label(class="form-label") }}{{ form.object_type(class="form-control") }}
{{ form.status.label(class="form-label") }}{{ form.status(class="form-control") }}
{{ form.inventory_number.label(class="form-label") }}{{ form.inventory_number(class="form-control", placeholder="e.g. 2024-001") }}
Asking Price
{{ form.price.label(class="form-label") }}{{ form.price(class="form-control", placeholder="0.00") }}
{{ form.currency.label(class="form-label") }}{{ form.currency(class="form-control") }}
Rights & Attribution
{{ form.rights.label(class="form-label") }}{{ form.rights(class="form-control", placeholder="e.g. Public Domain, CC0") }}
{{ form.credit_line.label(class="form-label") }}{{ form.credit_line(class="form-control", rows=2) }}
Public Display
Cancel
{% block extra_js %} {% endblock %} {% endblock %}