Sha256: ee0a6457f00f2e1eb8ca44095bd7fb1faf40ea35d4b9af6e266db200c4a89460
Contents?: true
Size: 579 Bytes
Versions: 55
Compression:
Stored size: 579 Bytes
Contents
module ContentProviders # Participant rates their current mood class NewCurrentFeelProvider < BitCore::ContentProvider def render_current(options) options.view_context.render( template: "think_feel_do_engine/moods/new_current", locals: { mood: options.view_context.current_participant.moods.build, create_path: options.view_context.participant_data_path } ) end def data_class_name "Mood" end def data_attributes [:rating] end def show_nav_link? false end end end
Version data entries
55 entries across 55 versions & 1 rubygems