diff options
author | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2019-11-24 15:24:46 +0100 |
---|---|---|
committer | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2019-11-24 20:16:02 +0100 |
commit | a657f79f49668bf84929325beed7d885ffb64715 (patch) | |
tree | 8c0395f9b2491f2c1b3d148645709123181c1018 /src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html | |
parent | d8c3798d068aa2e128ca7a43a9451ce6d87cc230 (diff) |
Extend submission forms
Diffstat (limited to 'src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html')
-rw-r--r-- | src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html index 40af9b4..79a9f5f 100644 --- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html @@ -3,7 +3,7 @@ <head> <meta charset="UTF-8"> - <title>Query form</title> + <title>Contacts query form</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> </head> @@ -13,8 +13,13 @@ <div id="queryForm"> <form action="#" th:action="@{/contacts}" th:object="${contactsObject}" method="post"> <div class="form-group"> - <label for="Textarea1">Enter contacts as a Json map with string key and integer list as value</label> + <label for="Textarea1">Enter contacts</label> <textarea class="form-control" id="Textarea1" rows="3" th:field="*{string}"></textarea> + <small id="attributeValueHelpBlock" class="form-text text-muted"> + Use Json format for entering contacts. Examples: <br> + Contact: { "contactName" : [ 1, 1, 1, 1 ] } <br> + Contact: { "contactName1" : [ 1, 1, 1, 1 ], "contactName2" : [ 2, 2, 2, 2 ] } + </small> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> |