converted create_event back to html