Rename variable, better not use the same name as the method 💣 [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2012-04-30 11:27:19 -03:00
parent 5f9dd605c0
commit 4d819311b5
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ module SimpleForm
end
def inline_label
inline_label = options[:inline_label]
inline_label == true ? label_text : inline_label
inline_option = options[:inline_label]
inline_option == true ? label_text : inline_option
end
# Booleans are not required by default because in most of the cases