Added missing close tags for some inputs in diary page