def new
      authorize model, :create?

      collect_model_fields_for_form

      @resource           = model.new
      @resource_title     = t(_resource_title.singularize)
      @_fields_properties = form_properties._field_details
      @multipart          = has_attachment?

      new_hook(@resource)
      return if _override_views.include? :new
      render 'faalis/dashboard/resource/new'
    end
def new
      authorize model, :create?

      collect_model_fields_for_form

      @resource           = model.new
      @resource_title     = t(_resource_title.singularize)
      @_fields_properties = form_properties._field_details
      @multipart          = has_attachment?

      new_hook(@resource)
      return if _override_views.include? :new
      render 'faalis/dashboard/resource/new'
    end
The actual action method of a dashboard controller