class ActiveScaffold::Config::Form
Attributes
the ActionLink for this action
whether the form should be multipart
whether the form stays open after a create or not
whether we should refresh list after create or not
Public Class Methods
Source
# File lib/active_scaffold/config/form.rb, line 3 def initialize(core_config) super @show_unauthorized_columns = self.class.show_unauthorized_columns @refresh_list = self.class.refresh_list @persistent = self.class.persistent @floating_footer = self.class.floating_footer # no global setting here because multipart should only be set for specific forms @multipart = false end
Calls superclass method
ActiveScaffold::Config::Base::new
Public Instance Methods
Source
# File lib/active_scaffold/config/form.rb, line 60 def multipart? @multipart ? true : false end