gpp/port/templates/new_stay/new_stay-0.html

31 lines
827 B
HTML

{% extends "index.html" %}
{% block form %}
<div class="search" id="search_boat">
{{ boat_search_form }}
{% if search_name %}
<label for="id_search_results_none">
<input type="radio"
name="search_results"
value="-1"
id="id_search_results_none"/>
None ( create a new boat )
</label>
{% endif %}
<input type="submit" value="Search boat" />
</div>
{% endblock %}
{% block formnew %}
<form action="{% url 'index:new_boat' %}" method="post" name="boat_add">
{% csrf_token %}
<div class="new hidden" id="new_boat">
<a
id="switch_boat_search"
href="#search_boat">
Switch to boat search
</a>
{{ boat_form }}
<input type="submit" value="Add boat" />
</div>
</form>
{% endblock %}