Permalink
Browse files

rename variable label_text

  • Loading branch information...
1 parent bd241ff commit a8df7c3e150b82c5e4757b94c804d87617da78e2 @NOX73 committed Jul 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/simple_form/components/labels.rb
@@ -30,8 +30,8 @@ def label
end
def label_text
- lt = options[:label_text] || SimpleForm.label_text
- lt.call(raw_label_text, required_label_text).strip.html_safe
+ label_text = options[:label_text] || SimpleForm.label_text
+ label_text.call(raw_label_text, required_label_text).strip.html_safe
end
def label_target

0 comments on commit a8df7c3

Please sign in to comment.