Last change
on this file since 850b344 was 850b344, checked in by Tamara Simikj <tamara.simic12@…>, 2 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
2.2 KB
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <title>Edit Clients</title>
|
---|
6 | <link href="https://bootswatch.com/5/journal/bootstrap.css" rel="stylesheet">
|
---|
7 | <script src="https://bootswatch.com/_assets/css/custom.min.css"></script>
|
---|
8 | <script src="https://bootswatch.com/_vendor/prismjs/themes/prism-okaidia.css" ></script>
|
---|
9 | <script src="https://bootswatch.com/_vendor/font-awesome/css/font-awesome.min.css"></script>
|
---|
10 | </head>
|
---|
11 | <body>
|
---|
12 | <div th:replace="layout.html :: header"></div>
|
---|
13 | <form method="POST" th:action="@{'/clients/{id}' (id = ${klient?.id})}">
|
---|
14 | <fieldset>
|
---|
15 | <div class="container">
|
---|
16 |
|
---|
17 | <div class="form-group">
|
---|
18 | <label for="ime" class="form-label mt-4">Name</label>
|
---|
19 | <input type="text"
|
---|
20 | id="ime"
|
---|
21 | name="ime"
|
---|
22 | th:value="${klient?.ime}"
|
---|
23 | class="form-control"
|
---|
24 | required>
|
---|
25 | </div>
|
---|
26 |
|
---|
27 | <div class="form-group">
|
---|
28 | <label for="prezime" class="form-label mt-4">Surname</label>
|
---|
29 | <input type="text"
|
---|
30 | id="prezime"
|
---|
31 | name="prezime"
|
---|
32 | th:value="${klient?.prezime}"
|
---|
33 | class="form-control"
|
---|
34 | required>
|
---|
35 | </div>
|
---|
36 |
|
---|
37 | <div class="form-group">
|
---|
38 | <label for="telBr" class="form-label mt-4">Phone number</label>
|
---|
39 | <input type="text"
|
---|
40 | id="telBr"
|
---|
41 | name="telBr"
|
---|
42 | th:value="${klient?.telBr}"
|
---|
43 | class="form-control"
|
---|
44 | required>
|
---|
45 | </div>
|
---|
46 |
|
---|
47 | <div class="form-group">
|
---|
48 | <label for="email" class="form-label mt-4">Email</label>
|
---|
49 | <input type="text"
|
---|
50 | id="email"
|
---|
51 | name="email"
|
---|
52 | th:value="${klient?.eMail}"
|
---|
53 | class="form-control"
|
---|
54 | required>
|
---|
55 | </div>
|
---|
56 | <br>
|
---|
57 | <hr>
|
---|
58 | <br>
|
---|
59 | <button id="submit" type="submit" class="btn btn-primary">Submit</button>
|
---|
60 | <a id="back" href="/clients" type="button" class="btn btn-link">Back to clients</a>
|
---|
61 |
|
---|
62 | </div>
|
---|
63 | </fieldset>
|
---|
64 | </form>
|
---|
65 | <div th:replace="layout.html :: footer"></div>
|
---|
66 | </body>
|
---|
67 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.