Sha256: 1a9217e316848b2282f6d3882de63c7fda682d79b11844b9c7daabb356100ccb

Contents?: true

Size: 1.06 KB

Versions: 12

Compression:

Stored size: 1.06 KB

Contents

<% if (description = content_modules.first.try(:bit_core_tool).try(:description)) %>
  <% content_for(:tool_description) { sanitize(description).gsub(/\n/, "<br><br>").html_safe } %>
<% end %>

<% content_for :left do %>
  <div class="list-group left">
    <% didactic_modules.each do |m| %>
      <%= task_status_link(available_module: m, icon: fa_icon("book"), membership: membership) %>
    <% end %>
  </div>
<% end %>

<% content_for :right do %>
  <div class="list-group right">
    <% non_didactic_modules.each do |m| %>
      <%= task_status_link(available_module: m, icon: fa_icon("pencil"), membership: membership) %>
    <% end %>
  </div>
<% end %>

<% content_modules.visualization.each do |available_module| %>
  <br>
  <%= available_module
      .content_providers
      .order(:position)
      .first
      .render_current(
        Struct.new(:view_context, :app_context, :position, :participant)
        .new(self, nil, nil, current_participant),
        navigator_location_path(
          module_id: available_module.id
        )
      )
      .html_safe
  %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/participants/content_modules/index.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/participants/content_modules/index.html.erb