* @package branch * @link https://www.zentao.net */ namespace zin; formPanel ( set::id('createBranchForm'), set::title(sprintf($lang->branch->create, $lang->product->branchName[$product->type])), set::shadow(!isInModal()), formGroup ( set::label(sprintf($lang->branch->name, $lang->product->branchName[$product->type])), set::required(true), set::name('name'), set::control('input') ), formGroup ( set::label(sprintf($lang->branch->desc, $lang->product->branchName[$product->type])), textarea ( set::name('desc'), set::rows('5') ) ) ); render();