Closed
Description
On the src/main/webapp/WEB-INF/views/series/info.html
page we should add another form to add a release year. It should have a single input and a submit button. Here is an example that can be helpful:
mystamps/src/main/webapp/WEB-INF/views/series/add.html
Lines 352 to 361 in 366f099
When we submit a form, it should send a PATCH request to API /series/{id}
with
[
{ "op": "add", "path": "/release_year", "value": <user data> }
]
and reload a page on success. It should show an error when server returns an error. Note that there can be 2 type of errors -- general (for a whole form) and validation error (for a particular field).
Part of #1343