Indent protected/private calls
This commit is contained in:
parent
479306e846
commit
420d9bee7d
|
@ -121,7 +121,7 @@ module SimpleForm
|
|||
fields_for(*(args << options), &block)
|
||||
end
|
||||
|
||||
private
|
||||
private
|
||||
|
||||
# Generate default options for collection helpers, such as :checked and
|
||||
# :disabled.
|
||||
|
|
|
@ -9,7 +9,7 @@ module SimpleForm
|
|||
object && object.respond_to?(:errors) && errors.present?
|
||||
end
|
||||
|
||||
protected
|
||||
protected
|
||||
|
||||
def error_text
|
||||
"#{options[:error_prefix]} #{errors.send(error_method)}".lstrip
|
||||
|
|
|
@ -43,7 +43,7 @@ module SimpleForm
|
|||
label_options
|
||||
end
|
||||
|
||||
protected
|
||||
protected
|
||||
|
||||
def raw_label_text #:nodoc:
|
||||
options[:label] || label_translation
|
||||
|
|
|
@ -340,7 +340,7 @@ module SimpleForm
|
|||
end
|
||||
end
|
||||
|
||||
private
|
||||
private
|
||||
|
||||
# Find an input based on the attribute name.
|
||||
def find_input(attribute_name, options={}, &block) #:nodoc:
|
||||
|
|
|
@ -10,7 +10,7 @@ module SimpleForm
|
|||
options[:priority] || SimpleForm.send(:"#{input_type}_priority")
|
||||
end
|
||||
|
||||
protected
|
||||
protected
|
||||
|
||||
def has_required?
|
||||
false
|
||||
|
|
Loading…
Reference in New Issue