Sha256: afb8acc28d142b1e3925bac43b4a4444ca3ae62c417029a848d38572071c54a6
Contents?: true
Size: 609 Bytes
Versions: 13
Compression:
Stored size: 609 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems