diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-19 13:40:35 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-28 11:40:17 +0100 |
commit | 72593b0dabfba41e5da8e5b7e1f6c786b58ba151 (patch) | |
tree | df8ce0731ca3bc33727198d355c2c0aa0ab72169 /archaeological_finds/templates | |
parent | eb9d989822c4314bb36d2b8179a598c8b9f2b9c9 (diff) | |
download | Ishtar-72593b0dabfba41e5da8e5b7e1f6c786b58ba151.tar.bz2 Ishtar-72593b0dabfba41e5da8e5b7e1f6c786b58ba151.zip |
Find wizard: manage a simplified form for find with many base finds
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r-- | archaeological_finds/templates/ishtar/wizard/wizard_simplefind.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/wizard/wizard_simplefind.html b/archaeological_finds/templates/ishtar/wizard/wizard_simplefind.html new file mode 100644 index 000000000..b1d77ba81 --- /dev/null +++ b/archaeological_finds/templates/ishtar/wizard/wizard_simplefind.html @@ -0,0 +1,13 @@ +{% 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> + {{find.short_label }} + <a href="{% url 'find_modify' find.pk %}"><i class="fa fa-pencil"></i></a> + </li>{% endwith %}{% endfor %}</ul> +</div> +{% endblock %} |