diff --git a/flextype/core/Forms.php b/flextype/core/Forms.php index c1cb557c..6c1f390a 100644 --- a/flextype/core/Forms.php +++ b/flextype/core/Forms.php @@ -163,10 +163,6 @@ class Forms case 'visibility_select': $form_element = $this->visibilitySelectField($form_element_name, ['draft' => __('admin_entries_draft'), 'visible' => __('admin_entries_visible'), 'hidden' => __('admin_entries_hidden')], (! empty($form_value) ? $form_value : 'visible'), $property); break; - // Media select field - case 'media_select': - //$form_element = $this->mediaSelectField($form_element_name, $this->getMediaList($request->getQueryParams()['id'], false), $form_value, $property['attributes']); - break; // Simple text-input, for single-line fields. default: $form_element = $this->textField($form_element_name, $form_value, $property); @@ -246,11 +242,6 @@ class Forms return Form::select($name, $options, $value, $property['attributes']); } - protected function mediaSelectField($name, $options, $value, $property) - { - return Form::select($name, $options, $value, $property['attributes']); - } - protected function textField($name, $value, $property) { return Form::input($name, $value, $property['attributes']);