Sha256: 0e7b060ea187fa3fb0aff690c520ef4a296dbe86b828322f6c9a28e14c3c1938

Contents?: true

Size: 1.26 KB

Versions: 20

Compression:

Stored size: 1.26 KB

Contents

<h1>Listing Lesson Modules <small><%= @arm.title %></small></h1>

<div class="btn-toolbar" role="toolbar">
  <%= link_to "Arm", (defined?(think_feel_do_dashboard) ? think_feel_do_dashboard.arm_path(@arm) : "#"), class: "btn btn-default" %>
	<%= link_to "New", new_arm_lesson_path(@arm), class: "btn btn-default" %>
	<%= link_to "All Content", arm_lessons_all_content_path(@arm), class: "btn btn-default", data: { no_turbolink: true } %>
</div>

<table class="table table-hover">
	<thead>
		<tr>
			<th>Position</th>
			<th>Title</th>
			<th>No. of Slides</th>
			<th></th>
		</tr>
	</thead>
  <tbody id="sortable-slides" data-update-url="<%= sort_arm_lessons_url(@arm, @lesson) %>">
		<% @lessons.each do |lesson| %>
			<tr id="lesson-<%= lesson.id %>">
				<td>
					<span class="handle"><%= fa_icon("sort", class: "fa-lg") %></span>
					<%= lesson.position %>
				</td>
				<td>
					<%= link_to lesson.pretty_title, arm_lesson_path(@arm, lesson) %>
				</td>
				<td><%= lesson.slides.count %></td>
				<td>
					<%= link_to "Edit", edit_arm_lesson_path(@arm, lesson), class: "btn btn-default" %>
					<%= link_to "Delete", arm_lesson_path(@arm, lesson), :method => :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
				</td>
			</tr>
		<% end %>
	</tbody>
</table>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
think_feel_do_engine-3.14.0 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.13.1 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.13.0 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.9 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.8 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.7 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.6 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.5 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.4 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.3 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.2 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.1 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.12.0 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.11.3 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.11.0 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.10.10 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.10.9 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.10.8 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.10.7 app/views/think_feel_do_engine/lessons/index.html.erb
think_feel_do_engine-3.10.6 app/views/think_feel_do_engine/lessons/index.html.erb