aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-05 16:30:55 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-05 16:30:55 +0100
commitcca398427ea8c932e686ef93e2ddd1eb2f2b6456 (patch)
treeb6ae866802cee529da28daa4f3074f0bcb36729e /notes
parentf4fc15a80945cb85841aa37ce30b810321a30337 (diff)
todo notes
Diffstat (limited to 'notes')
-rw-r--r--notes/catalyst-master-merge-todos.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/notes/catalyst-master-merge-todos.txt b/notes/catalyst-master-merge-todos.txt
index 51194fed3..e002321f4 100644
--- a/notes/catalyst-master-merge-todos.txt
+++ b/notes/catalyst-master-merge-todos.txt
@@ -9,3 +9,5 @@ merge in from master
southhampton templates
Add newsletter signup to bottom of problem confirm page
+
+ON STAGING ONLY: toggle cobrands and languages using params, and persist the change using sessions \ No newline at end of file
Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/use_spans_for_errors.rb
blob: cda05c588f69c68ffb52389b803de8c659bfa61b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Monkeypatch! Use SPAN instead of DIV. 
#
# Rails core refuse to fix this properly, by making it an official option.
# Without it, you will get HTML validation errors in various places where an
# error appears within a P.
#
# A monkeypatch will have to do.
#
# See http://dev.rubyonrails.org/ticket/2210

ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance|  %(<span class="fieldWithErrors">#{html_tag}</span>)}