Permalink
Browse files

form error summary on review view

  • Loading branch information...
1 parent 38867d2 commit 9638680906248923a4299a0da6a674b8b4782c42 @rmarianski committed Nov 2, 2012
Showing with 5 additions and 4 deletions.
  1. +4 −4 resources/public/css/docphoto.css
  2. +1 −0 src/docphoto/core.clj
@@ -169,18 +169,18 @@ a:hover {
float: none;
}
-.uniForm .form-errors {
+#page .form-errors {
padding: 10px;
border: 2px solid red;
}
-.uniForm .form-errors p {
+#page .form-errors p {
color: red;
font-weight: bold;
}
-.uniForm .form-errors ul {
+#page .form-errors ul {
float: none;
}
-.uniForm .form-errors li span {
+#page .form-errors li span {
color: red;
font-weight: bold;
}
View
@@ -1551,6 +1551,7 @@
fields (application-review-fields application)]
[:div
[:h2 "Review Application"]
+ (display-error-summary errors field->label)
[:dl
[:dt "Applicant"]
[:dd (:name (query-user-by-id (:contact__c application)))]

0 comments on commit 9638680

Please sign in to comment.