<div class="row"> <?php echo $form->labelEx($model,'fono'); ?> <?php echo $form->textField($model, 'fono', array('maxlength' => 45)); ?> <?php echo $form->error($model,'fono'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model,'mail'); ?> <?php echo $form->textField($model, 'mail', array('maxlength' => 45)); ?> <?php echo $form->error($model,'mail'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model,'username'); ?> <?php echo $form->textField($model, 'username', array('maxlength' => 45)); ?> <?php echo $form->error($model,'username'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model,'password'); ?> <?php echo $form->passwordField($model, 'password', array('maxlength' => 45)); ?> <?php echo $form->error($model,'password'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('locals')); ?></label> <?php echo $form->checkBoxList($model, 'locals', GxHtml::encodeEx(GxHtml::listDataEx(Local::model()->findAllAttributes(null, true)), false, true)); ?> <label><?php echo GxHtml::encode($model->getRelationLabel('userPlans')); ?></label> <?php echo $form->checkBoxList($model, 'userPlans', GxHtml::encodeEx(GxHtml::listDataEx(UserPlan::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textArea($model, 'slogan_en'); ?> <?php echo $form->error($model, 'slogan_en'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'slogan_ar'); ?> <?php echo $form->textArea($model, 'slogan_ar'); ?> <?php echo $form->error($model, 'slogan_ar'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('distributions')); ?> </label> <?php echo $form->checkBoxList($model, 'distributions', GxHtml::encodeEx(GxHtml::listDataEx(Distribution::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
?> <?php echo $form->error($model, 'body'); ?> </div> <!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'status'); ?> <?php echo $form->dropDownList($model, 'status', array(0 => 'Ẩn', 1 => 'Hiện')); ?> <?php echo $form->error($model, 'status'); ?> </div> <label><?php echo GxHtml::encode($model->getRelationLabel('classGuitars')); ?> </label> <?php echo $form->checkBoxList($model, 'classGuitars', GxHtml::encodeEx(GxHtml::listDataEx(ClassGuitar::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->dropDownList($model, 'country_id', GxHtml::listDataEx(Country::model()->findAllAttributes(null, true))); ?> <?php echo $form->error($model, 'country_id'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'last_update'); ?> <?php echo $form->textField($model, 'last_update'); ?> <?php echo $form->error($model, 'last_update'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('addresses')); ?> </label> <?php echo $form->checkBoxList($model, 'addresses', GxHtml::encodeEx(GxHtml::listDataEx(Address::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton('Save'); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'deleted_at'); ?> <?php echo $form->error($model, 'deleted_at'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'value'); ?> <?php echo $form->textField($model, 'value'); ?> <?php echo $form->error($model, 'value'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('vouchers')); ?> </label> <?php echo $form->checkBoxList($model, 'vouchers', GxHtml::encodeEx(GxHtml::listDataEx(Voucher::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'name', array('maxlength' => 20)); ?> <?php echo $form->error($model, 'name'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'code'); ?> <?php echo $form->textField($model, 'code', array('maxlength' => 10)); ?> <?php echo $form->error($model, 'code'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('governorates')); ?> </label> <?php echo $form->checkBoxList($model, 'governorates', GxHtml::encodeEx(GxHtml::listDataEx(Governorate::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'precio'); ?> <?php echo $form->error($model, 'precio'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'descripcion'); ?> <?php echo $form->textField($model, 'descripcion'); ?> <?php echo $form->error($model, 'descripcion'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('pedidos')); ?> </label> <?php echo $form->checkBoxList($model, 'pedidos', GxHtml::encodeEx(GxHtml::listDataEx(Pedido::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save'), array('onClick' => "this.disabled=true;this.value='" . Yii::t('app', 'Enviando') . "';this.form.submit();")); $this->endWidget(); ?> </div><!-- form -->
echo $form->dropDownList($model, 'type_id', GxHtml::listDataEx(CompanyStructureType::model()->findAllAttributes(null, true))); ?> <?php echo $form->error($model, 'type_id'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'location_id'); ?> <?php echo $form->dropDownList($model, 'location_id', GxHtml::listDataEx(Location::model()->findAllAttributes(null, true))); ?> <?php echo $form->error($model, 'location_id'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('companyStructures')); ?> </label> <?php echo $form->checkBoxList($model, 'companyStructures', GxHtml::encodeEx(GxHtml::listDataEx(CompanyStructure::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton('Save'); $this->endWidget(); ?> </div><!-- form -->
</p> <?php echo $form->errorSummary($model); ?> <div class="row"> <?php echo $form->labelEx($model, 'name'); ?> <?php echo $form->textField($model, 'name', array('maxlength' => 50)); ?> <?php echo $form->error($model, 'name'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('beneficiaries')); ?> </label> <?php echo $form->checkBoxList($model, 'beneficiaries', GxHtml::encodeEx(GxHtml::listDataEx(Beneficiary::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'deleted_at'); ?> <?php echo $form->error($model, 'deleted_at'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'available'); ?> <?php echo $form->checkBox($model, 'available'); ?> <?php echo $form->error($model, 'available'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('vendorMobiles')); ?> </label> <?php echo $form->checkBoxList($model, 'vendorMobiles', GxHtml::encodeEx(GxHtml::listDataEx(VendorMobile::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'documento', array('maxlength' => 255)); ?> <?php echo $form->error($model, 'documento'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'tabla'); ?> <?php echo $form->textField($model, 'tabla', array('maxlength' => 70)); ?> <?php echo $form->error($model, 'tabla'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('documentoExistentes')); ?> </label> <?php echo $form->checkBoxList($model, 'documentoExistentes', GxHtml::encodeEx(GxHtml::listDataEx(DocumentoExistente::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->error($model, 'last_update'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('actors')); ?> </label> <?php echo $form->checkBoxList($model, 'actors', GxHtml::encodeEx(GxHtml::listDataEx(Actor::model()->findAllAttributes(null, true)), false, true)); ?> <label><?php echo GxHtml::encode($model->getRelationLabel('categories')); ?> </label> <?php echo $form->checkBoxList($model, 'categories', GxHtml::encodeEx(GxHtml::listDataEx(Category::model()->findAllAttributes(null, true)), false, true)); ?> <label><?php echo GxHtml::encode($model->getRelationLabel('inventories')); ?> </label> <?php echo $form->checkBoxList($model, 'inventories', GxHtml::encodeEx(GxHtml::listDataEx(Inventory::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton('Save'); $this->endWidget(); ?> </div><!-- form -->
<?php echo $form->labelEx($model, 'last_update'); ?> <?php echo $form->textField($model, 'last_update'); ?> <?php echo $form->error($model, 'last_update'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('films')); ?> </label> <?php echo $form->checkBoxList($model, 'films', GxHtml::encodeEx(GxHtml::listDataEx(Film::model()->findAllAttributes(null, true)), false, true)); ?> <label><?php echo GxHtml::encode($model->getRelationLabel('films1')); ?> </label> <?php echo $form->checkBoxList($model, 'films1', GxHtml::encodeEx(GxHtml::listDataEx(Film::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton('Save'); $this->endWidget(); ?> </div><!-- form -->
<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>. </p> <?php echo $form->errorSummary($model); ?> <div class="row"> <?php echo $form->labelEx($model,'categoria_id'); ?> <?php echo $form->dropDownList($model, 'categoria_id', GxHtml::listDataEx(Categoria::model()->findAllAttributes(null, true))); ?> <?php echo $form->error($model,'categoria_id'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model,'nombre'); ?> <?php echo $form->textField($model, 'nombre', array('maxlength' => 45)); ?> <?php echo $form->error($model,'nombre'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model,'descripcion'); ?> <?php echo $form->textField($model, 'descripcion', array('maxlength' => 200)); ?> <?php echo $form->error($model,'descripcion'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('categorias')); ?></label> <?php echo $form->checkBoxList($model, 'categorias', GxHtml::encodeEx(GxHtml::listDataEx(Categoria::model()->findAllAttributes(null, true)), false, true)); ?> <label><?php echo GxHtml::encode($model->getRelationLabel('productos')); ?></label> <?php echo $form->checkBoxList($model, 'productos', GxHtml::encodeEx(GxHtml::listDataEx(Producto::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->
echo $form->textField($model, 'name', array('maxlength' => 50)); ?> <?php echo $form->error($model, 'name'); ?> </div><!-- row --> <div class="row"> <?php echo $form->labelEx($model, 'description'); ?> <?php echo $form->textField($model, 'description', array('maxlength' => 200)); ?> <?php echo $form->error($model, 'description'); ?> </div><!-- row --> <label><?php echo GxHtml::encode($model->getRelationLabel('assignments')); ?> </label> <?php echo $form->checkBoxList($model, 'assignments', GxHtml::encodeEx(GxHtml::listDataEx(Assignment::model()->findAllAttributes(null, true)), false, true)); ?> <?php echo GxHtml::submitButton(Yii::t('app', 'Save')); $this->endWidget(); ?> </div><!-- form -->