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
|
end
|
||||||
|
|
||||||
def inline_label
|
def inline_label
|
||||||
inline_label = options[:inline_label]
|
inline_option = options[:inline_label]
|
||||||
inline_label == true ? label_text : inline_label
|
inline_option == true ? label_text : inline_option
|
||||||
end
|
end
|
||||||
|
|
||||||
# Booleans are not required by default because in most of the cases
|
# Booleans are not required by default because in most of the cases
|
||||||
|
|
Loading…
Reference in New Issue