Пример #1
0
?>
     </div>
     <div class="uk-form-row">
      <?php 
echo CHtml::textField('contact_phone', '', array('class' => 'uk-width-1-1 mobile_inputs', 'placeholder' => yii::t("default", "Mobile"), 'data-validation' => "required"));
?>
     </div>
     <div class="uk-form-row">
      <?php 
echo CHtml::textField('email_address', '', array('class' => 'uk-width-1-1', 'placeholder' => yii::t("default", "Email address"), 'data-validation' => "email"));
?>
     </div>
     
     <?php 
$FunctionsK = new FunctionsK();
$FunctionsK->clientRegistrationCustomFields();
?>
     
     <div class="uk-form-row">
      <?php 
echo CHtml::passwordField('password', '', array('class' => 'uk-width-1-1', 'placeholder' => Yii::t("default", "Password"), 'data-validation' => "required"));
?>
     </div>
     <p class="uk-text-muted" style="text-align: left;">
        <?php 
echo Yii::t("default", "By creating an account, you agree to receive sms from vendor.");
?>
     </p>
     
     
  <?php 
Пример #2
0
?>
</div>

<div class="uk-form-row">
  <label class="uk-form-label"><?php 
echo Yii::t("default", "Email address");
?>
</label>
  <?php 
echo CHtml::textField('email_address', isset($data['email_address']) ? $data['email_address'] : "", array('class' => "uk-form-width-large", 'data-validation' => "required"));
?>
</div>

<?php 
$FunctionsK = new FunctionsK();
$FunctionsK->clientRegistrationCustomFields(true, $data);
?>

<div class="uk-form-row">
  <label class="uk-form-label"><?php 
echo Yii::t("default", "Password");
?>
</label>
  <?php 
echo CHtml::passwordField('password', '', array('class' => "uk-form-width-large"));
?>
</div>

<div class="uk-form-row">
  <label class="uk-form-label"><?php 
echo Yii::t("default", "Street Address");