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