Sha256: 10669f9fae5593a1993858dff1882f2828d8a2faad66d4a645c561892ee3dfc0

Contents?: true

Size: 675 Bytes

Versions: 38

Compression:

Stored size: 675 Bytes

Contents

module ContentProviders
  module GratitudeRecordings
    # Allows participants to record a new gratitude
    class NewProvider < BitCore::ContentProvider
      def data_attributes
        [:description]
      end

      def data_class_name
        "GratitudeRecording"
      end

      def render_current(options)
        options.view_context.render(
          template: "think_feel_do_engine/gratitude_recordings/new_provider",
          locals: {
            create_path: options.view_context.participant_data_path,
            participant: options.view_context.current_participant
          })
      end

      def show_nav_link?
        false
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
think_feel_do_engine-3.17.1 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.17.0 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.16.3 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.16.2 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.16.1 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.7 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.16.0 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.6 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.5 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.4 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.3 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.2 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.1 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.15.0 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.9 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.8 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.7 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.6 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.5 app/models/content_providers/gratitude_recordings/new_provider.rb
think_feel_do_engine-3.14.4 app/models/content_providers/gratitude_recordings/new_provider.rb