mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
10 lines
353 B
Ruby
10 lines
353 B
Ruby
class DefaultFormBuilder < ActionView::Helpers::FormBuilder
|
|
def legal_document_field(method, options = {})
|
|
self.multipart = true
|
|
@template.legal_document_field(@object_name, method, objectify_options(options))
|
|
end
|
|
|
|
def money_field(method, options = {})
|
|
@template.money_field(@object_name, method, objectify_options(options))
|
|
end
|
|
end
|