Sha256: 5a379e26583d12e0dc4eed6b88bf9bc37da4b6c805a490156277be436e46e938
Contents?: true
Size: 819 Bytes
Versions: 11
Compression:
Stored size: 819 Bytes
Contents
module ContentProviders module Experiences # Allows participants to record a positive experiences/events class NewProvider < BitCore::ContentProvider def data_attributes [ :body_feelings, :challenging_amplification, :description, :emotions, :thoughts ] end def data_class_name "Experience" end def render_current(options) view_context = options.view_context options.view_context.render( template: "think_feel_do_engine/experiences/new_provider", locals: { create_path: view_context.participant_data_path, participant: view_context.current_participant }) end def show_nav_link? false end end end end
Version data entries
11 entries across 11 versions & 1 rubygems