citavi_mapper/frontend/templates/project/map-person.html

28 lines
867 B
HTML

{% extends "layout/base.html" %}
{% block head%}
{% load crispy_forms_tags %}
{% endblock %}
{% block navbar-header %}
<li><a href="{% url 'frontend-projects' %}">Back to projects</a></li>
<li><a href="{% url 'frontend-project-view-person' project.id %}">Back to person list</a></li>
{% endblock %}
{% block content %}
<h3>Current subject:</h3>
{% if not person %}
<p><strong>Oops, something went wrong. Perhaps a wrong url?</strong></p>
{% else %}
<div class="person-card">
ID: {{person.ID}}<br>
Prefix: {{person.Prefix}}<br>
Title: {{person.Title}}<br>
FirstName: {{person.FirstName}}<br>
MiddleName: {{person.MiddleName}}<br>
LastName: {{person.LastName}}<br>
Suffix: {{person.Suffix}}<br>
Sex: {{person.Sex}}<br>
Abv.: {{person.Abbreviation}}<br>
</div>
{% endif %}
<h3>Wizard</h3>
<p>{% crispy form %}</p>
{% endblock %}