xxxxxxxxxx
1
<button class="btn btn-primary" data-mdb-toggle="modal" data-mdb-target="#staticBackdrop">
2
Open modal
3
</button>
4
5
<form name="vendor-form" id="vendor-form" action="{{ url_for('auth.vendors') }}" method="post" autocomplete="off">
6
{{ csrf() | raw }}
7
<div
8
class="modal fade"
9
id="staticBackdrop"
10
data-mdb-backdrop="static"
11
data-mdb-keyboard="false"
12
tabindex="-1"
13
aria-labelledby="staticBackdropLabel"
14
aria-hidden="true">
15
16
<div class="modal-dialog modal-lg">
17
<div class="modal-content">
18
<div class="modal-header">
19
<h5 class="modal-title" id="staticBackdropLabel">Add new vendor</h5>
20
<button
21
type="button"
22
class="btn-close"
23
data-mdb-dismiss="modal"
24
aria-label="Close"
25
></button>
26
</div>
27
<div class="modal-body">
28
29
<div><p class="text-center" id="status"></p></div>
30
31
<div class="row my-4">
32
<div class="col">
33
34
<div class="form-outline">
35
<input
36
type="text"
37
id="profession"
38
name="profession"
39
class="form-control"/>
40
<label class="form-label" for="profession">Profession</label>
41
</div>
42
43
</div>
44
45
<div class="col">
46
47
<div class="form-outline">
48
<input
49
type="text"
50
id="business_name"
51
name="business_name"
52
class="form-control"/>
53
<label class="form-label" for="business_name">Business name / Person</label>
54
</div>
55
56
</div>
57
</div>
58
59
<div class="row my-4">
60
<div class="col">
61
62
<div class="form-outline">
63
<input
64
type="text"
65
id="contact_name"
66
name="contact_name"
67
class="form-control"/>
68
<label class="form-label" for="contact_name">Contact name</label>
69
</div>
70
71
</div>
72
73
<div class="col">
74
75
<div class="form-outline">
76
<input
77
type="text"
78
id="email"
79
name="email"
80
class="form-control"/>
81
<label class="form-label" for="email">Email</label>
82
</div>
83
84
</div>
85
</div>
86
87
<div class="row my-4">
88
<div class="col">
89
90
<div class="form-outline">
91
<input
92
type="text"
93
id="phone"
94
name="phone"
95
class="form-control"/>
96
<label class="form-label" for="phone">Phone</label>
97
</div>
98
99
</div>
100
101
<div class="col">
102
103
<div class="form-outline">
104
<input
105
type="text"
106
id="website"
107
name="website"
108
class="form-control"/>
109
<label class="form-label" for="website">Web site</label>
110
</div>
111
112
</div>
113
</div>
114
115
</div>
116
117
<div class="modal-footer">
118
<button type="button" class="btn btn-secondary" data-dismiss="modal">
119
Close
120
</button>
121
<button type="submit" class="btn btn-primary" id="addNewVendor">Add</button>
122
</div>
123
124
</div>
125
</div>
126
</div>
127
<!-- ./Modal -->
128
</form>
1
1
1
1
Console errors: 0