combined entry and edit entry templates
ajax working