app/controllers/anoubis/etc/field.rb
##
# Return field properties for frontend application
# @param model [ActiveRecord] field's model
# @param action [Srting] current field action
# @return [Hash] field's properties for defined action
Return field properties for frontend application
Return field properties for frontend application
def properties (model, action)
        if %w[new edit].include? action
          return self.properties_forms model, action
        end
        self.properties_index model, action
      end
def properties ( model , action ) if %w[ new edit ] . include? action return self . properties_forms model , action end self . properties_index model , action end
Return field properties for frontend application
Return field properties for frontend application
field's properties for defined action
field ' s properties for defined action
Hash
model
None
action
current field action
current field action