= $this->formFor($this->ad, function($f) { ?> request()->action() ?> = $this->partial('shared/error_messages', ['object' => $f->object()]) ?>
Type | |
---|---|
= $f->label('ad_type') ?> | = $f->select('ad_type', ['Horizontal' => 'horizontal', 'Vertical' => 'vertical']) ?> |
= $f->label('status') ?> | = $f->select('status', ['Active' => 'active', 'Disabled' => 'disabled']) ?> |
= $f->label('reset_hit_count') ?> | = $f->checkBox('reset_hit_count') ?> |
= $f->label('image_url') ?> | = $f->textField('image_url') ?> |
= $f->label('referral_url') ?> | = $f->textField('referral_url') ?> |
= $f->label('width') ?> | = $f->textField('width') ?> |
= $f->label('height') ?> | = $f->textField('height') ?> |
= $f->label('html') ?> | = $f->textArea('html', ['style' => 'height: 300px;']) ?> |
= $f->submit() ?> |