protected function _getDefaultInputHtml($type, $name, $attributes, $value_fixed = null) {
		list($attributes, $value) = $this->_prepare($name, $attributes);

		$attributes['type']		= !isset($attributes['type']) ? $type : $attributes['type'];

		// on type "file" we would have an array (and "file" does not need a value)
		if (is_scalar($value))		$attributes['value'] = $value;
		if ($value_fixed !== null)	$attributes['value'] = $value_fixed;

		// for checkboxes
		if ($type === 'checkbox') {
			if (is_array($value) && in_array($value_fixed, $value)) {
				$attributes['checked'] = 'checked';
			} elseif ($value_fixed == $value) {
				$attributes['checked'] = 'checked';
			}
		}

		$attributes = $this->_arrayToAttributesString($attributes);

		return "<input{$attributes} />";
	}