diff --git a/core/class/template.class.php b/core/class/template.class.php index 3cf93c38..99f1b455 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -871,7 +871,8 @@ class template 'name' => $nameId, 'placeholder' => '', 'readonly' => false, - 'value' => '' + 'value' => '', + 'type' => 'text' ], $attributes); // Traduction de l'aide et de l'étiquette $attributes['label'] = helper::translate($attributes['label']); @@ -898,7 +899,7 @@ class template $html .= self::notice($attributes['id'], $notice); // Texte $html .= sprintf( - '', + '', helper::sprintAttributes($attributes) ); // Fin du wrapper