Rename variable, better not use the same name as the method 💣 [ci skip]
This commit is contained in:
parent
5f9dd605c0
commit
4d819311b5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue