Exemple #1
0
?>
              <?php 
echo Html::formGroup($model, 'online_pay', array('class' => 'col-md-4'), $form->labelEx($model, 'online_pay', array('label' => '在线支付' . Html::fontAwesome('question-circle', 'b'), 'data-toggle' => 'tooltip', 'title' => '在线支付极大程度方便主办方的审核工作,手续费率大约是1.5%,详情请联系管理员')), $form->dropDownList($model, 'online_pay', Competition::getOnlinePays(), array('class' => 'form-control')), $form->error($model, 'online_pay', array('class' => 'text-danger')));
?>
              <?php 
echo Html::formGroup($model, 'person_num', array('class' => 'col-md-4'), $form->labelEx($model, 'person_num', array('label' => '人数限制')), Html::activeTextField($model, 'person_num'), $form->error($model, 'person_num', array('class' => 'text-danger')));
?>
              <div class="clearfix"></div>
              <?php 
echo Html::formGroup($model, 'second_stage_date', array('class' => 'col-md-4'), $form->labelEx($model, 'second_stage_date', array('label' => '第二阶段时间' . Html::fontAwesome('question-circle', 'b'), 'data-toggle' => 'tooltip', 'title' => '不采用分阶段报名费的比赛忽略此项')), Html::activeTextField($model, 'second_stage_date', array('class' => 'datetime-picker', 'data-date-format' => 'yyyy-mm-dd hh:ii:00')), $form->error($model, 'second_stage_date', array('class' => 'text-danger')));
?>
              <?php 
echo Html::formGroup($model, 'second_stage_ratio', array('class' => 'col-md-4'), $form->labelEx($model, 'second_stage_ratio', array('label' => '第二阶段倍率')), Html::activeTextField($model, 'second_stage_ratio'), $form->error($model, 'second_stage_ratio', array('class' => 'text-danger')));
?>
              <?php 
echo Html::formGroup($model, 'second_stage_all', array('class' => 'col-md-4'), $form->labelEx($model, 'second_stage_all', array('label' => '包含所有项目')), $form->dropDownList($model, 'second_stage_all', Competition::getYesOrNo(), array('class' => 'form-control')), $form->error($model, 'second_stage_all', array('class' => 'text-danger')));
?>
              <div class="clearfix"></div>
              <?php 
echo Html::formGroup($model, 'date', array('class' => 'col-lg-3 col-md-6'), $form->labelEx($model, 'date', array('label' => '日期')), Html::activeTextField($model, 'date', array('class' => 'datetime-picker', 'data-date-format' => 'yyyy-mm-dd', 'data-min-view' => '2')), $form->error($model, 'date', array('class' => 'text-danger')));
?>
              <?php 
echo Html::formGroup($model, 'end_date', array('class' => 'col-lg-3 col-md-6'), $form->labelEx($model, 'end_date', array('label' => '结束日期')), Html::activeTextField($model, 'end_date', array('class' => 'datetime-picker', 'data-date-format' => 'yyyy-mm-dd', 'data-min-view' => '2')), $form->error($model, 'end_date', array('class' => 'text-danger')));
?>
              <div class="clearfix hidden-lg"></div>
              <?php 
echo Html::formGroup($model, 'reg_start', array('class' => 'col-lg-3 col-md-6'), $form->labelEx($model, 'reg_start'), Html::activeTextField($model, 'reg_start', array('class' => 'datetime-picker', 'data-date-format' => 'yyyy-mm-dd hh:ii:00', 'placeholder' => '留空默认公示后即开放报名')), $form->error($model, 'reg_start', array('class' => 'text-danger')));
?>
              <?php 
echo Html::formGroup($model, 'reg_end', array('class' => 'col-lg-3 col-md-6'), $form->labelEx($model, 'reg_end'), Html::activeTextField($model, 'reg_end', array('class' => 'datetime-picker', 'data-date-format' => 'yyyy-mm-dd hh:ii:00')), $form->error($model, 'reg_end', array('class' => 'text-danger')));
?>