27 lines
757 B
HTML
27 lines
757 B
HTML
{% extends "index.html" %}
|
|
{% block form %}
|
|
{% if insurance is None %}
|
|
<em>No insurance yet assigned for this boat</em>
|
|
{% else %}
|
|
You're currently insured at
|
|
<em>{{ insurance.name }}</em>
|
|
<br />
|
|
If it's still the case, or if you don't have an insurance, please push the next button.
|
|
<br />
|
|
If not, please type in your insurance's name below.
|
|
<br />
|
|
{{ insurance_search_form }}
|
|
<br />
|
|
<input type="submit" value="Next" />
|
|
<br />
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% block formnew %}
|
|
<form action="{% url 'insurance:add' %}" method="post">
|
|
<div class="new hidden" id="new_insurance">
|
|
{{ insurance_form }}
|
|
<input type="submit" value="Add insurance" />
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|