aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-06-12 15:40:18 +0000
committerfrancis <francis>2009-06-12 15:40:18 +0000
commit3f25537bd2bf1d16d4188a849f984c2eb5a7f531 (patch)
treed44bc5d09ed7a620957786d2801571634b72cb47
parent0d7e28317c2d95d3f007158304331520608375e5 (diff)
Change notes to HTML.
-rw-r--r--app/models/public_body.rb4
-rw-r--r--app/views/admin_public_body/_form.rhtml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index 8d3b71b95..7eaeeae6a 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -26,7 +26,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: public_body.rb,v 1.143 2009-06-12 13:53:45 francis Exp $
+# $Id: public_body.rb,v 1.144 2009-06-12 15:40:18 francis Exp $
require 'csv'
require 'set'
@@ -492,7 +492,7 @@ class PublicBody < ActiveRecord::Base
return self.notes != ""
end
def notes_as_html
- MySociety::Format.make_clickable(self.notes)
+ self.notes
end
end
diff --git a/app/views/admin_public_body/_form.rhtml b/app/views/admin_public_body/_form.rhtml
index a8dbb1d29..6b41e698d 100644
--- a/app/views/admin_public_body/_form.rhtml
+++ b/app/views/admin_public_body/_form.rhtml
@@ -39,7 +39,7 @@
<p><label for="public_body_charity_number">Charity Registration Number <small>(if a registered charity)</small></label><br/>
<%= text_field 'public_body', 'charity_number', :size => 60 %></p>
-<p><label for="public_body_notes">Public notes</label> <small>(for users to consider when making FOI requests to the authority)</small><br/>
+<p><label for="public_body_notes">Public notes</label> <small>(HTML, for users to consider when making FOI requests to the authority)</small><br/>
<%= text_area 'public_body', 'notes', :rows => 3, :cols => 60 %></p>
<p><label for="public_body_tag_string">Tags <small>(space separated; see list of tags on the right)</small></label><br/>