Please fill out the following fields to edit the current institution:
Institution
ActiveForm::TYPE_VERTICAL, 'options' => ['class' => 'form-row'], 'fieldConfig' =>['options' => ['class' => 'complete_field searchfields col-lg-6 col-md-5 col-sm-3 col-2']]]); ?>
= $form->field($modal, 'institutionShort')?>
= $form->field($modal, 'institutionFullName')?>
= $form->field($modal, 'city')?>
country;
$countries = DBInterface::getCountries();
$countrylist = ArrayHelper::map($countries, 'iso', 'country');
echo $form->field($modal, 'country')
->dropDownList(
$countrylist,
['prompt' => '--Please select a country--'],
['options' =>
[
$selectedValue => ['selected' => 'selected']
]
]
)->label('Country');
?>
= $form->field($modal, 'Latitude')?>
= $form->field($modal, 'Longitude')?>
= $form->field($modal, 'logoURL')?>
= $form->field($modal, 'urlMTA')?>
= $form->field($modal, 'urlLoanPolicies')?>
= $form->field($modal, 'dateOfJoining')?>
= $form->field($modal, 'onlineSince')?>
= $form->field($modal, 'CITES_code')->textInput( ['placeholder'=>"if not registered at CITES enter 'not registered'"])?>
= $form->field($modal, 'IPEN_member')->radioList(['1'=>'yes', '0'=>'no'])?>
= $form->field($modal, 'memberStatus')->radioList(["Core"=>"Core","Associate"=>"Associate","Observer"=>"Observer"])?>
= Html::submitButton('Update', ['class' => 'btn btn-success', 'name' => 'create-button'])?>
= $form->field($modal, 'parentInstitutionID')->hiddenInput ()->label ( '' )?>