Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8"/>
- <title>Sensor Form</title>
- </head>
- <body>
- <form th:object="${sensor}" th:action="${(#mvc.url('PSC#sensorUpdate')).build()}" method="post">
- <input type="hidden" th:field="*{sensorId}"/>
- <ul>
- <li>Name: <input type="text" th:field="*{sensorName}"/></li>
- <li>
- <select>
- <option> </option>
- <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
- </select>
- </li>
- <li>
- <select>
- <option> </option>
- <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
- </select>
- </li>
- <li>
- <select>
- <option> </option>
- <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
- </select>
- </li>
- <li><button type="submit">Submit</button></li>
- </ul>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement