Class LogiFormBuilder
In: lib/logi_form_builder.rb
Parent: ActionView::Helpers::FormBuilder

Methods

submit  

Public Instance methods

[Source]

    # File lib/logi_form_builder.rb, line 23
23:   def submit(field, *args)
24:     options = args.last.is_a?(Hash) ? args.pop : {}
25:     string = @template.button(field, nil, options)
26:     return string
27:   end

[Validate]