form : type file must have the form-control too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5035 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
1
form.php
1
form.php
@@ -1414,6 +1414,7 @@ class formfield
|
|||||||
"'";
|
"'";
|
||||||
if (isset ($this->readonly) && $this->readonly !== FALSE)
|
if (isset ($this->readonly) && $this->readonly !== FALSE)
|
||||||
$res .= " readonly='readonly'";
|
$res .= " readonly='readonly'";
|
||||||
|
$res .= " class='form-control'";
|
||||||
if (isset ($this->hidden) && $this->hidden !== FALSE)
|
if (isset ($this->hidden) && $this->hidden !== FALSE)
|
||||||
$res .= " style='display:none'";
|
$res .= " style='display:none'";
|
||||||
if (isset ($this->cols))
|
if (isset ($this->cols))
|
||||||
|
|||||||
Reference in New Issue
Block a user