Class: ContentProviders::AugmentedThoughtsTableProvider

Inherits:
BitCore::ContentProvider
  • Object
show all
Defined in:
app/models/content_providers/augmented_thoughts_table_provider.rb

Overview

Provides a form for a Participant to enter a Thought.

Instance Method Summary collapse

Instance Method Details

#render_current(options) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'app/models/content_providers/augmented_thoughts_table_provider.rb', line 5

def render_current(options)
  options.view_context.render(
    template: "think_feel_do_engine/thoughts/thoughts_table",
    locals: {
      hide_new_path: true,
      thoughts: options.participant.thoughts.harmful
    }
  )
end

#show_nav_link?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/content_providers/augmented_thoughts_table_provider.rb', line 15

def show_nav_link?
  true
end