Permalink
Browse files

fixed typo in example

Signed-off-by: Justin French <justin@indent.com.au>
  • Loading branch information...
markmansour authored and justinfrench committed Jan 13, 2009
1 parent 353618e commit f1154ccace2a677072b067cf5c177ed8aa00b8cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
View
@@ -203,7 +203,7 @@ module JustinFrench #:nodoc:
# new method to be added allowing full control over the label and value
def label_and_value(label_text, value, options = {})
options[:label] = label_text
- content = text_label(label_text, options)
+ content = input_label(label_text, options)
content += @template.content_tag(:span, value)
@template.content_tag(:li, content)
end

0 comments on commit f1154cc

Please sign in to comment.