m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/pl/edu/mimuw/cloudatlas
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 10:34:41 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 10:34:41 +0100
commitf12ca8014063487bfe5c129a47390f2dde1a5b40 (patch)
treea044a82a06f94c9d396d608420e3c81d89ba2620 /src/main/resources/pl/edu/mimuw/cloudatlas
parentad1434856c34abdb71b0d02f5cb43a19f52abc48 (diff)
Fix attribute form errors
Diffstat (limited to 'src/main/resources/pl/edu/mimuw/cloudatlas')
-rw-r--r--src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html
index 3f10f57..0499bc8 100644
--- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html
+++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html
@@ -11,7 +11,7 @@
<div th:replace="fragments/navbar :: navbar"></div>
<div id="queryForm">
- <form action="#" th:action="@{/contacts}" th:object="${attributeObject}" method="post">
+ <form action="#" th:action="@{/attribs}" th:object="${attributeObject}" method="post">
<div class="form-group">
<label for="ZoneName1">Enter zone name</label>
<input type="text" class="form-control" id="ZoneName1" rows="3" th:field="*{zoneName}"/>
@@ -23,14 +23,14 @@
<div class="form-group">
<label for="TypeSelect1">Enter attribute type</label>
<select class="form-control" id="TypeSelect1" th:field="*{attributeType}">
- <option th:value="1" th:text="Boolean"></option>
- <option th:value="2" th:text="Double"></option>
- <option th:value="3" th:text="Int"></option>
- <option th:value="4" th:text="String"></option>
- <option th:value="5" th:text="Time"></option>
- <option th:value="6" th:text="Duration"></option>
- <option th:value="7" th:text="Contact"></option>
- <option th:value="8" th:text="Query"></option>
+ <option th:value="Boolean" th:text="Boolean"></option>
+ <option th:value="Double" th:text="Double"></option>
+ <option th:value="Int" th:text="Int"></option>
+ <option th:value="String" th:text="String"></option>
+ <option th:value="Time" th:text="Time"></option>
+ <option th:value="Duration" th:text="Duration"></option>
+ <option th:value="Contact" th:text="Contact"></option>
+ <option th:value="Query" th:text="Query"></option>
</select>
</div>
<div class="form-group">