Add CodeMirror, improve display of model fields on problem page