Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8"/>
  5.         <title>Sensor Form</title>
  6.     </head>
  7.     <body>
  8.         <form th:object="${sensor}" th:action="${(#mvc.url('PSC#sensorUpdate')).build()}" method="post">
  9.             <input type="hidden" th:field="*{sensorId}"/>
  10.             <ul>
  11.                 <li>Name: <input type="text" th:field="*{sensorName}"/></li>
  12.                 <li>
  13.                     <select>
  14.                         <option> </option>
  15.                         <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
  16.                     </select>
  17.                 </li>
  18.                 <li>
  19.                     <select>
  20.                         <option> </option>
  21.                         <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
  22.                     </select>
  23.                 </li>
  24.                 <li>
  25.                     <select>
  26.                         <option> </option>
  27.                         <option th:each="observedProperty : ${observedProperties}" th:text="${observedProperty.name}"></option>
  28.                     </select>
  29.                 </li>
  30.                 <li><button type="submit">Submit</button></li>
  31.             </ul>
  32.  
  33.         </form>
  34.        
  35.        
  36.     </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement