Sha256: 22d779df38bea664cd3f5241fd9e34896fbf0c0e4eda5ca23d192d4ca9bf91c1

Contents?: true

Size: 1.55 KB

Versions: 68

Compression:

Stored size: 1.55 KB

Contents

<h1>Content Provider <small><%= @content_provider.pretty_label %></small></h1>

<div class="btn-toolbar" role="toolbar">
  <%= link_to 'Module', arm_bit_maker_content_module_path(@arm, @content_provider.content_module), class: "btn btn-default" %>
  <%= link_to 'Edit', edit_arm_bit_maker_content_provider_path(@arm, @content_provider), class: "btn btn-default" %>
  <%= link_to "New Provider", new_arm_bit_maker_content_provider_path(@arm), class: "btn btn-default" %>
  <%= link_to 'Destroy', arm_bit_maker_content_provider_path(@arm, @content_provider), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
</div>

<p>
  <strong>Tool:</strong>
  <%= @content_provider.content_module.tool.title %>
</p>

<p>
  <strong>Module:</strong>
  <%= link_to @content_provider.content_module.title, arm_bit_maker_content_module_path(@arm, @content_provider.content_module) %>
</p>

<p>
  <strong>Position:</strong>
  <%= "#{ @content_provider.position } / #{ @content_provider.content_module.last_position }" %>
</p>

<p>
  <strong>Is skippable after first viewing:</strong>
  <%= @content_provider.is_skippable_after_first_viewing %>
</p>

<% if @slideshow %>
  <p>
    <strong>Slideshow:</strong> <%= link_to @slideshow.try(:title), arm_bit_maker_slideshow_path(@arm, @slideshow) %>
  </p>
  <p>
    <strong>Slides:</strong> 
    <div class="list-group">
      <% @slideshow.slides.each do |slide| %>
        <%= link_to slide.title, arm_bit_maker_slideshow_slide_path(@arm, @slideshow, slide), class: "list-group-item" %>
      <% end %>
    </div>
  </p>
<% end %>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.20.1 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.9 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.8 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.7 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.6 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.5 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.4 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb
think_feel_do_engine-3.19.3 app/views/think_feel_do_engine/bit_maker/content_providers/show.html.erb