6 $this->
pageTitle=Yii::app()->name .
' - Contact Us';
14 <?php
if(Yii::app()->user->hasFlash(
'contact')): ?>
16 <?php $this->widget(
'bootstrap.widgets.TbAlert', array(
17 'alerts'=>array(
'contact'),
23 If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
28 <?php
$form=$this->beginWidget(
'bootstrap.widgets.TbActiveForm', array(
31 'enableClientValidation'=>
true,
32 'clientOptions'=>array(
33 'validateOnSubmit'=>
true,
37 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
39 <?php echo $form->errorSummary($model); ?>
41 <?php echo $form->textFieldRow($model,
'name'); ?>
43 <?php echo $form->textFieldRow($model,
'email'); ?>
45 <?php echo $form->textFieldRow($model,
'subject',array(
'size'=>60,
'maxlength'=>128)); ?>
47 <?php echo $form->textAreaRow($model,
'body',array(
'rows'=>6,
'class'=>
'span8')); ?>
49 <?php
if(CCaptcha::checkRequirements()): ?>
50 <?php echo $form->captchaRow($model,
'verifyCode',array(
51 'hint'=>
'Please enter the letters as they are shown in the image above.<br/>Letters are not case-sensitive.',
55 <div
class=
"form-actions">
56 <?php $this->widget(
'bootstrap.widgets.TbButton',array(
57 'buttonType'=>
'submit',
63 <?php $this->endWidget(); ?>