Module: Cas::FormHelper

Defined in:
app/helpers/cas/form_helper.rb

Instance Method Summary collapse

Instance Method Details

#display_field?(name) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/helpers/cas/form_helper.rb', line 3

def display_field?(name)
  ::Cas::SectionConfig.new(@section).form_has_field?(name)
end

#field_properties(name) ⇒ Object



7
8
9
# File 'app/helpers/cas/form_helper.rb', line 7

def field_properties(name)
  ::Cas::FormField.new(@section, name)
end