Commit f9ce8e73ce0f66e6ad12314ddfc91a0024361c7f

Authored by nbm
1 parent a15af4f9

Template to render a choice between the document types available on the

system.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3659 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/document/document_type_choice.smarty 0 → 100644
  1 +<select name="{$name|default:"fDocumentTypeID"}"
  2 +{if $onchange }
  3 +onChange="{$onchange}">
  4 +{/if}
  5 +{ foreach item=oDocumentType from=$document_types }
  6 +<option value="{$oDocumentType->getID()}"> { $oDocumentType->getName() }</option>
  7 +{ /foreach }
  8 +</select>
... ...