From 7556e9bc356da781f980c4349d44514a097a453b Mon Sep 17 00:00:00 2001 From: deveil Date: Tue, 24 Aug 2021 17:47:55 +0200 Subject: [PATCH] Correction for prefilling text inputs As documentation said : https://materializecss.com/text-inputs.html - Prefilling Text Inputs To avoid labels overlapping prefilled content, add class="active" to the label. --- .../templates/materializecssform/field.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/materializecssform/templates/materializecssform/field.html b/materializecssform/templates/materializecssform/field.html index 6070e76..f0bfa16 100644 --- a/materializecssform/templates/materializecssform/field.html +++ b/materializecssform/templates/materializecssform/field.html @@ -55,7 +55,7 @@ {% endif %} - + {% for error in field.errors %} {{ error }} @@ -75,7 +75,7 @@ {% endif %} - + {% for error in field.errors %} {{ error }} @@ -180,7 +180,7 @@ {% endif %} {% if field.auto_id %} - + {% endif %} {% for error in field.errors %} @@ -223,7 +223,7 @@ {% endif %} {{ field }} {% if field.auto_id %} - + {% endif %} {% for error in field.errors %}