Sha256: 18d2172d70c29f3b48f3cc5121a33cca206b1b1e68bd7ab591bcf9106465fb06
Contents?: true
Size: 603 Bytes
Versions: 13
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module ContentProviders # Allows user to submit a mood from the past 24 hours. class NewPastFeelProvider < BitCore::ContentProvider def render_current(options) options.view_context.render( template: "moods/new_past_mood", 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