add . and possibility to enter decimal numbers in new_event.html