source: Git/src/main/resources/templates/repliesAdd.html@ 3fe36de

main
Last change on this file since 3fe36de was 5b447b0, checked in by Test <matonikolov77@…>, 2 years ago

Adding models and resources

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<main xmlns:th="http://www.thymeleaf.org">
2
3 <div class="container">
4 <div class="row">
5 <div class="col-md-5">
6 <form th:action="@{'/replies/save/{replyId}' (replyId = ${reply?.getReplyId()})}" method="POST">
7
8 <div class="form-group">
9 <label for="text">Опис</label>
10 <input type="text"
11 class="form-control"
12 id="text"
13 name="text"
14 th:value="${reply?.getText()}"
15 multiple
16 placeholder="Опис">
17 </div>
18 <input type="hidden"
19 id="discussionId"
20 name="discussionId"
21 th:value="${reply != null ? reply.getDiscussionId() : discussionId}"
22 >
23
24
25
26
27
28
29
30 <button id="submit" type="submit" class="btn btn-primary">Submit</button>
31 <a type="button" class="btn btn-primary" th:href="@{/discussions}">Back</a>
32 </form>
33 </div>
34 </div>
35 </div>
36
37
38</main>
Note: See TracBrowser for help on using the repository browser.