Sha256: 35d880369da6d23f02259e1401c5e90708d17210a45a9dfbbb2d7bfe76a32fc8

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 KB

Contents

<!-- -PHCDEV- Title Variables -->
<% phc_title "Tutorial Post Manager" %>
<% phc_title_tagline "Detailed Tutorial Information & Steps" %>
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
<% phc_breadcrumb_two link_to "Tutorial Index", phcdevworks_tutorials.tutorial_posts_path %>
<!-- -PHCDEV- Title Variables -->

<!-- -PHCDEV- Bradcrumbs -->
<ol class="breadcrumb float-xl-end">
	<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
	<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- -PHCDEV- Bradcrumbs -->

<!-- -PHCDEV- Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
<!-- -PHCDEV- Header -->

<!-- -PHCDEV- Panel -->
<div class="panel panel-inverse">

	<!-- -PHCDEV- Panel - Heading -->
	<div class="panel-heading">
		<h4 class="panel-title"><%= yield(:phc_title) %></h4>
	</div>
	<!-- -PHCDEV- Panel - Heading -->

	<!-- -PHCDEV- Panel - Body -->
	<div class="panel-body">

		<!-- -PHCDEV- Index - Table -->
		<div class="table-responsive">
			<table class="table table-striped table-bordered">

				<thead>
					<tr>
						<th>Tutorial Step Number</th>
						<th>Tutorial Step Title</th>
						<th>Tutorial Description</th>
					</tr>
				</thead>

				<tbody>
					<% @tutorial_post.steps.each do |tutorial_step| %>
						<tr>
							<td><%= tutorial_step.tutorial_step_number %></td>
							<td><%= tutorial_step.tutorial_step_title %></td>
							<td><%= tutorial_step.tutorial_step_text %></td>
						</tr>
					<% end %>
				</tbody>

			</table>
		</div>
		<!-- -PHCDEV- Index - Table -->

		<!-- -PHCDEV- New Button -->
		<%= link_to phcdevworks_tutorials.tutorial_post_steps_path(@tutorial_post), class: "btn btn-primary btn-sm" do %>
			<i class="fad fa-plus-circle"></i>
			Add or Update Tutorial Steps
		<% end %>
		<!-- -PHCDEV- New Button -->

	</div>
	<!-- -PHCDEV- Panel - Body -->

</div>
<!-- -PHCDEV- Panel -->

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_tutorials-13.0.2 app/views/phcdevworks_tutorials/tutorial/posts/show.html.erb
phcdevworks_tutorials-13.0.1 app/views/phcdevworks_tutorials/tutorial/posts/show.html.erb
phcdevworks_tutorials-13.0.0 app/views/phcdevworks_tutorials/tutorial/posts/show.html.erb