public function render(Model $model) { $content = Form::select($this->name, $this->options, $model->get($this->name), array()); $layout = $this->get_layout($model->app()); $layout->name = $this->name; $layout->field = $content; return $layout->render(); }