Add color input type

This commit is contained in:
Mulia Arifandi Nasution committed 2015-11-28 15:21:36 +07:00
1 parent 5ad8377968
commit b6b3693586
1 file changed
+14
+14
View File
@@ -869,6 +869,20 @@ class FormBuilder
return $this->input('image', $name, null, $attributes);
}
/**
* Create a color input field.
*
* @param string $name
* @param string $value
* @param array $options
*
* @return string
*/
public function color($name, $value = null, $options = [])
{
return $this->input('color', $name, $value, $options);
}
/**
* Create a submit button element.
*