added inline form for linking with doc_document