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