Skip to content
Snippets Groups Projects
Commit 90def5fd authored by cortylal's avatar cortylal
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents 41458eb1 994cc52a
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ class PhoneField extends Field ...@@ -6,7 +6,7 @@ class PhoneField extends Field
// Todo, if isset($_POST[$this->name]) && !$this->validate() => Show a error msg explanation for this line. // Todo, if isset($_POST[$this->name]) && !$this->validate() => Show a error msg explanation for this line.
$html = '<div class="form-group"> $html = '<div class="form-group">
<label for="form'.$this->name.'">'.$this->label.'</label> <label for="form'.$this->name.'">'.$this->label.'</label>
<input type="tel" name="'.$this->name.'" value="'.$this->value.'"> <input type="tel" class="form-control" name="'.$this->name.'" value="'.$this->value.'">
</div>'; </div>';
return $html; return $html;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment