From c939a8bcb06cd29a4925f2d331061d397af8d375 Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 10 Mar 2011 13:54:01 +0000 Subject: Show form submission errors in the form box --- gentoobrowse/css/screen.css | 6 ++---- gentoobrowse/xslt/form.xslt | 11 ++++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gentoobrowse/css/screen.css b/gentoobrowse/css/screen.css index 6d5d2f9..5b59d68 100644 --- a/gentoobrowse/css/screen.css +++ b/gentoobrowse/css/screen.css @@ -22,7 +22,8 @@ h2 { margin: 0; font-size: 18px; } -p { +p.error { + color: red; } .colLeft { @@ -77,9 +78,6 @@ form.generalForm table { border: 1px solid #aaaaff; } -form.generalForm td { - width: 75%; -} form.generalForm td input { border: 1px solid #aaaaff; width: 98%; diff --git a/gentoobrowse/xslt/form.xslt b/gentoobrowse/xslt/form.xslt index 4fd35e2..7bcdc1f 100644 --- a/gentoobrowse/xslt/form.xslt +++ b/gentoobrowse/xslt/form.xslt @@ -16,8 +16,8 @@ - - + - +
+ @@ -31,7 +31,12 @@
+ + +

+
+
-- cgit v1.2.3