public function input(FieldContract $field)
    {
        $attributes = $field->get('attributes');
        if (isset($attributes['field'])) {
            unset($attributes['field']);
        }


        $decoratedAttributes = $this->html->decorate($attributes);


        return $this->form->input($field->get('type'), $field->get('name'), $field->get('value'), $decoratedAttributes);
    }