{i18n}Checking in a document updates the document and allows others to check out the document.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} {capture assign=cancellink} {"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} {/capture}

{i18n arg_link=$cancellink}If you do not intend to edit the document, and you do not wish to prevent others from changing the document, you should cancel this checkout.{/i18n}

{i18n}Checkin{/i18n} {foreach from=$checkin_fields item=oWidget } {$oWidget->render()} {/foreach}