module TemplateForm
Constants
- MissingTemplateError
- TemplateFormError
- VERSION
Public Class Methods
field_error_proc()
click to toggle source
# File lib/template_form.rb, line 6 def self.field_error_proc noop_field_error_proc end
form_type()
click to toggle source
# File lib/template_form.rb, line 10 def self.form_type @form_type || :bulma end
form_type=(val)
click to toggle source
# File lib/template_form.rb, line 14 def self.form_type=(val) @form_type = val end
Private Class Methods
noop_field_error_proc()
click to toggle source
# File lib/template_form.rb, line 20 def self.noop_field_error_proc Proc.new { |html_tag, instance| html_tag } end