diff --git a/bookstore/src/main/resources/messages.properties b/bookstore/src/main/resources/messages.properties index 46fc3d8..4f95392 100644 --- a/bookstore/src/main/resources/messages.properties +++ b/bookstore/src/main/resources/messages.properties @@ -45,7 +45,14 @@ book.error.id.invalid = Wrong book book.null.author = Unknown book.null.category = None - + +book.placeholder.title = Book title +book.placeholder.author.firstname = Book author first name +book.placeholder.author.lastname = Book author last name +book.placeholder.isbn = Book ISBN code +book.placeholder.year = Book publication year \(\YYYY\) +book.placeholder.price = 0.00 + page.title.browser.list = Bookstore page page.title.browser.add = Add book page.title.browser.edit = Update book @@ -98,6 +105,11 @@ page.text.apiref.link = Link page.text.error = Error while processing your request +page.auth.failure = Authentication failure\! + +auth.field.placeholder.username = User name +auth.field.placeholder.password = Password + button.book.add = Add book button.book.edit = Update book diff --git a/bookstore/src/main/resources/templates/fragments/bookfields.html b/bookstore/src/main/resources/templates/fragments/bookfields.html index 97acb72..d67713b 100644 --- a/bookstore/src/main/resources/templates/fragments/bookfields.html +++ b/bookstore/src/main/resources/templates/fragments/bookfields.html @@ -22,7 +22,10 @@ th:text="${#messages.msgOrNull('book.author.firstName')} ?: 'book.author.firstName'"> book.author.firstName - + @@ -40,7 +43,9 @@