From cc3e62ee6b56dfbcb95ed84ad967893dc07c784d Mon Sep 17 00:00:00 2001
From: Matthieu Guffroy <mattgu74@gmail.com>
Date: Tue, 17 Jun 2014 23:39:13 +0200
Subject: [PATCH] Field: Afficher la valeur du champ

---
 class/field.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/class/field.php b/class/field.php
index ef44b2e..6a260eb 100644
--- a/class/field.php
+++ b/class/field.php
@@ -11,7 +11,7 @@ class Field {
 	public function html() {
 		return '<div class="form-group">
     <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>';
 	}
 
-- 
GitLab