Sha256: d95fbfd440a0cf8812b0bb6b186748cdfd9602d8dbbacd333e61b6a4fdce30ca

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

<!-- PHCTitleSEO Title Variables -->
<% phc_title "List Manager" %>
<% phc_title_tagline "List Index" %>
<% phc_breadcrumb_one yield(:phc_title) %>
<% phc_breadcrumb_two link_to "List Index", phcdevworks_press.list_posts_path %>
<!-- PHCTitleSEO Title Variables -->

<!-- Page 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>
<!-- Page Bradcrumbs -->

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

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

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

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

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

				<thead>
					<tr>
						<th>List Item Number</th>
						<th>List Item Title</th>
						<th>List Item Description</th>
					</tr>
				</thead>

				<tbody>
					<% @list_post.items.each do |list_item| %>
						<tr>
							<td><%= list_item.id %></td>
							<td><%= list_item.list_item_title %></td>
							<td><%= truncate(list_item.list_item_text, :length => 80, :escape => false) %></td>
						</tr>
					<% end %>
				</tbody>

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

		<!-- New Button -->
		<%= link_to phcdevworks_press.list_post_items_path(@list_post), class: "btn btn-primary btn-sm" do %>
			<i class="fad fa-plus-circle"></i>
			Add or Update List Items
		<% end %>
		<!-- New Button -->

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_press-9.0.2 app/views/phcdevworks_press/list/posts/show.html.erb
phcdevworks_press-9.0.1 app/views/phcdevworks_press/list/posts/show.html.erb
phcdevworks_press-9.0.0 app/views/phcdevworks_press/list/posts/show.html.erb