-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoctor.html
76 lines (44 loc) · 1.38 KB
/
doctor.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{% extends 'base.html' %}
{% block title %}
Doctors
{% endblock title %}
{% block body %}
<div class="container">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4">
{% with messages=get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{category}} alert-dismissible fade show" role="alert">
{{message}}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% endif %}
{% endwith %}
<br>
<h2 class="text-center text-white bg-dark">Doctors Booking</h2>
<br>
<form action="/doctors" method="post" class="jumbotron">
<div class="form-group">
<input type="text" class="form-control" name="first_name" placeholder="First Name" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="last_name" placeholder="Last Name" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="speciality" placeholder="Speciality" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="years_of_experience" placeholder="YOB" required>
</div>
<button type="submit" class="btn btn-dark btn-sm btn-block">Book</button>
</form>
</div>
<div class="col-md-4"></div>
</div>
</div>
{% endblock body %}