33 lines
989 B
HTML
33 lines
989 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<form action="{% url 'person:add' %}" method="post">
|
|
{% csrf_token %}
|
|
<!--
|
|
<label for="name">Name : </label>
|
|
<input type="text" name="name" id="name"/>
|
|
<br />
|
|
<label for="surname">Surname : </label>
|
|
<input type="text" name="surname" id="surname"/>
|
|
<br />
|
|
<label for="nationality">Nationality : </label>
|
|
<input type="text" name="nationality" id="nationality"/>
|
|
<br />
|
|
<label for="nationality">Nationality : </label>
|
|
<label for="email">e-mail : </label>
|
|
<input type="text" name="email" id="email"/>
|
|
<label for="phone">Phone number : </label>
|
|
<input type="countrycode" value="+33"/>
|
|
<input type="text" name="phone" id="phone"/>
|
|
-->
|
|
<fieldset>
|
|
<legend>Person</legend>
|
|
{{ form.person }}
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Address</legend>
|
|
{{ form.address }}
|
|
</fieldset>
|
|
<input type="submit" value="add"/>
|
|
</form>
|
|
{% endblock %}
|