Add user CSV import

This commit is contained in:
Frederic Guillot
2015-10-12 14:44:28 -04:00
parent e57386a183
commit e515f37435
20 changed files with 514 additions and 35 deletions

View File

@@ -177,6 +177,23 @@ class Form extends \Core\Base
return $html;
}
/**
* Display file field
*
* @access public
* @param string $name
* @param array $errors
* @param boolean $multiple
* @return string
*/
public function file($name, array $errors = array(), $multiple = false)
{
$html = '<input type="file" name="'.$name.'" id="form-'.$name.'" '.($multiple ? 'multiple' : '').'>';
$html .= $this->errorList($errors, $name);
return $html;
}
/**
* Display a input field
*