summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/wizard/wizard_simplefind.html
blob: 2ebde34ff87832dcf2a8291c6efd6d0c3052efcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "ishtar/wizard/default_wizard.html" %}
{% load i18n %}
{% block form_head %}
<div class="alert alert-warning">
    <i class="fa fa-exclamation-triangle"></i>
    {% trans 'This find is related to many base finds. To edit field related to base finds edit the corresponding find between theses:' %}
    <ul>{% for base_find in wizard.form.base_finds %}
    {% with find=base_find.get_main_find %}<li>
            {% if not find %}
            <p class="alert-danger">
                <i class="fa fa-exclamation-triangle"></i>
                {% trans "Inconsistency in the database: the related base find as not source find." %}
            </p>
            {% else %}
        {{find.short_label }}
        <a href="{% url 'find_modify' find.pk  %}"><i class="fa fa-pencil"></i></a>
            {% endif %}
    </li>{% endwith %}{% endfor %}</ul>
</div>
{% endblock %}