lib/active_admin/LTE/view_helpers.rb
# Helper method to render a filter form
Helper method to render a filter form
Helper method to render a filter form
def active_admin_lte_form_for resource, options = {}, &block
        options = Marshal.load( Marshal.dump(options) )
        options[:builder] ||= ActiveAdmin::LTE::FormBuilder
        options[:html] ||= {}
        options[:html][:class] ||= ''
        options[:html][:class] += ' lte-resource-form form-horizontal'
        semantic_form_for resource, options, &block
      end
def active_admin_lte_form_for resource , options = { } , & block options = Marshal . load ( Marshal . dump ( options ) ) options [ :builder ] ||= ActiveAdmin :: LTE :: FormBuilder options [ :html ] ||= { } options [ :html ] [ :class ] ||= '' options [ :html ] [ :class ] += ' lte-resource-form form-horizontal' semantic_form_for resource , options , & block end
Helper method to render a filter form
Helper method to render a filter form
resource
<not_specific>
options
<not_specific>
block
<not_specific>