Sha256: f17bd7cd1f73abf831104c65a3e5f32fee9d25288697a921ced52a2a04986275

Contents?: true

Size: 1.59 KB

Versions: 68

Compression:

Stored size: 1.59 KB

Contents

<h1>Slideshow <small><%= @slideshow.title %></small></h1>

<div class="btn-toolbar" role="toolbar">
  <%= link_to "Slideshows", arm_bit_maker_slideshows_path(@arm), class: "btn btn-default" %>
	<%= link_to "Add Slide", new_arm_bit_maker_slideshow_slide_path(@arm,@slideshow), class: "btn btn-default" %>
	<%= link_to "Add Video Slide", new_arm_bit_maker_slideshow_slide_path(@arm, @slideshow, type: "BitCore::VideoSlide"), class: "btn btn-default" %>
	<%= link_to "Add Audio Slide", new_arm_bit_maker_slideshow_slide_path(@arm, @slideshow, type: "BitCore::AudioSlide"), class: "btn btn-default" %>
  <%= table_of_contents_link(@arm, @slideshow) %>
  <%= link_to "Edit", edit_arm_bit_maker_slideshow_path(@arm, @slideshow), class: "btn btn-default" %>
	<%= link_to "Delete", arm_bit_maker_slideshow_path(@arm, @slideshow), :method => :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
</div>

<h3>Anchors</h3>

<%= form_tag arm_bit_maker_slideshow_slideshow_anchors_path(@arm,slideshow_id: @slideshow.id), remote: true do %>
  <% SlideshowAnchor::TARGET_NAMES.each do |tn| %>
    <% anchor = (@anchors[tn] || []).first %>
    <%= hidden_field_tag "id_to_destroy", anchor.try(:id), :"data-target-name" => tn %>
    <%= check_box_tag "slideshow_anchor[target_name]", tn, anchor.present? %> <%= tn %>
  <% end %>

  <%= submit_tag "Ok", class: "btn btn-default" %>
<% end %>

<h3>Slides</h3>

<ol id="sortable-slides" data-update-url="<%= sort_arm_bit_maker_slideshow_slides_url(@arm,@slideshow) %>">
	<% @slideshow.slides.each do |slide| %>
    <%= slide_panel(slide, @slideshow, @arm) %>
	<% end %>
</ol>

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/slideshows/show.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.20.1 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.9 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.8 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.7 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.6 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.5 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.4 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb
think_feel_do_engine-3.19.3 app/views/think_feel_do_engine/bit_maker/slideshows/show.html.erb