Browse Source

Add missing 'None' option for category

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.2-alpha
Pekka Helenius 4 years ago
parent
commit
47a9669e71
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bookstore/src/main/resources/templates/bookadd.html

+ 1
- 0
bookstore/src/main/resources/templates/bookadd.html View File

@ -169,6 +169,7 @@
th:value="${category.id}" th:value="${category.id}"
th:text="${category.name}" th:text="${category.name}"
>(obj) category.name</option> >(obj) category.name</option>
<option value="">None</option>
</select> </select>
<small class="form-text text-muted" <small class="form-text text-muted"
th:text="${#messages.msgOrNull('book.desc.set.category')} ?: 'book.desc.set.category'"> th:text="${#messages.msgOrNull('book.desc.set.category')} ?: 'book.desc.set.category'">


Loading…
Cancel
Save