public function input($type, $name, $value = null, $attributes = array())
{
$name = isset($attributes['name']) ? $attributes['name'] : $name;
$id = $this->id($name, $attributes);
$attributes = array_merge($attributes, compact('type', 'name', 'value', 'id'));
return '<input' . $this->html->attributes($attributes) . ' />';
}