/
add.html
30 lines (29 loc) · 1.32 KB
/
add.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends 'base.html' %}
{% block content %}
<h1>Добавить пациента</h1>
<div class="col-6">
<form method="post" action="{{ url_for('add_patient') }}">
<div class="mb-3">
<label for="name" class="form-label">Кличка</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="mb-3">
<label for="details" class="form-label">Подробности</label>
<textarea class="form-control" id="details" name="details" rows="3" required></textarea>
</div>
<div class="mb-3">
<label for="weight" class="form-label">Вес</label>
<input type="text" class="form-control" id="weight" name="weight" required>
</div>
<div class="mb-3">
<label for="age" class="form-label">Возраст</label>
<input type="text" class="form-control" id="age" name="age" required>
</div>
<div class="mb-3">
<label for="owner_name" class="form-label">Имя и адрес владельца</label>
<input type="text" class="form-control" id="owner_name" name="owner_name" required>
</div>
<button type="submit" class="btn btn-primary">Сохранить</button>
</form>
</div>
{% endblock %}