Skip to content
Snippets Groups Projects
Commit cc3e62ee authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

Field: Afficher la valeur du champ

parent 0e3b2aad
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ class Field { ...@@ -11,7 +11,7 @@ class Field {
public function html() { public function html() {
return '<div class="form-group"> return '<div class="form-group">
<label for="form'.$this->name.'">'.ucfirst($this->name).'</label> <label for="form'.$this->name.'">'.ucfirst($this->name).'</label>
<input type="text" class="form-control" name="'.$this->name.'" > <input type="text" class="form-control" name="'.$this->name.'" value="'.$this->value.'" >
</div>'; </div>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment