create partial for log forms, used in edit and new log views.