Added tel input type and test

This commit is contained in:
Kirk Franklin committed 2015-07-10 12:30:01 -07:00
1 parent 72d6ea9713
commit 501aea5374
2 files changed
+28 -3

No files matched your search

+14 -1
View File
@@ -299,6 +299,19 @@ class FormBuilder {
return $this->input('email', $name, $value, $options);
}
/**
* Create a tel input field.
*
* @param string $name
* @param string $value
* @param array $options
* @return string
*/
public function tel($name, $value = null, $options = array())
{
return $this->input('tel', $name, $value, $options);
}
/**
* Create a number input field.
*
@@ -329,7 +342,7 @@ class FormBuilder {
return $this->input('date', $name, $value, $options);
}
/**
* Create a time input field.
*