wires up codemirror on peer edit form