demand->edit;?>

parent >= 0):?> status) !== false):?>
demand->pool;?> pool, "class='form-control chosen'");?>
demand->product;?>
product, ',')) ? 'checked' : '';?> product, "class='form-control picker-select' $disableProduct multiple");?>
onchange="toggleProductDropdown()"/>
demand->assignedTo;?> assignedTo, "class='form-control chosen'");?>
demand->source;?>
demand->sourceList, $demand->source, "class='form-control chosen'");?>
demand->sourceNote;?> sourceNote, "class='form-control'");?>
demand->duration;?> demand->durationList, $demand->duration, "class='form-control chosen'");?>
demand->BSA;?> demand->bsaList, $demand->BSA, "class='form-control chosen'");?>
demand->feedbackedBy;?>
feedbackedBy, "class='form-control'");?>
demand->email;?> email, "class='form-control'");?>
demand->parent;?> parent, "class='form-control chosen'");?>
demand->reviewer;?>
demand->checkForceReview()):?>
reviewer, 'class="form-control picker-select" multiple')?>
/>
reviewer, 'class="form-control picker-select" multiple required')?>
demand->title;?>
status) !== false ? '' : 'disabled=disabled';?> title, "class='form-control' required $disabled");?>
demand->category;?> demand->categoryList, $demand->category, "class='form-control chosen'");?>
demand->pri;?> demand->priList as $priKey => $priValue) { if(!empty($priKey) and (string)$priKey != (string)$priValue) { $hasCustomPri = true; break; } } $pri = $demand->pri; unset($lang->demand->priList['']); $priList = $lang->demand->priList; if(end($priList)) unset($priList[0]); if(!isset($priList[$pri])) { reset($priList); $pri = key($priList); } ?>
demand->spec;?> status) !== false ? html::textarea('spec', $demand->spec, "rows='6' class='form-control kindeditor' hidefocus='true'") : "
{$demand->spec}
";?>
demand->verify;?> status) !== false ? html::textarea('verify', $demand->verify, "rows='6' class='form-control kindeditor' hidefocus='true'") : "
{$demand->verify}
";?>
files;?> fetch('file', 'buildoldform', 'fileCount=1&percent=0.85');?>
demand->mailto;?>
mailto, "class='form-control chosen' data-placeholder='{$lang->chooseUsersToMail}' multiple");?> fetch('my', 'buildContactLists');?>
demand->keywords;?> keywords, "class='form-control'");?>
status) !== false) { echo html::commonButton($lang->save, "id='saveButton'", 'btn btn-primary btn-wide'); echo html::commonButton($demand->status == 'changing' ? $lang->story->doNotSubmit : $lang->story->saveDraft, "id='saveDraftButton'", 'btn btn-secondary btn-wide'); } else { echo html::submitButton($lang->save); } if(!isonlybody()) echo html::backButton(); ?>