Sha256: a6888676463e9be1fc216363ec935944c573cafd4cc2069342865a9288960ed3

Contents?: true

Size: 1.59 KB

Versions: 22

Compression:

Stored size: 1.59 KB

Contents

<!-- Title System -->
<% phc_title "Connections Manager" %>
<% phc_title_tagline "Connection Index" %>
<!-- Title System -->

<!-- Page Title Bar -->
<section class="content-header">

	<!-- Page Title and BreadCrumb -->
	<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
	<ol class="breadcrumb">
		<li class="active"><%= yield(:phc_title_tagline) %></li>
	</ol>
	<!-- Page Title and BreadCrumb -->

</section>
<!-- Page Title Bar -->

<!-- Main Content -->
<section class="content">
	<div class="row">
		<div class="col-lg-12">

			<div class="box">
				<div class="box-header with-border">
					<h3 class="box-title"><%= yield(:phc_title) %></h3>
				</div>
				<div class="box-body">
					<table class="table table-bordered table-striped table-hover">
				<thead>
					<tr>
						<th>Category</th>
						<th>Posts</th>
						<th colspan="3"></th>
					</tr>
				</thead>

				<tbody>
					<% @modules_connections.each do |modules_connection| %>
						<tr>
							<td><%= modules_connection.category.catname %></td>
							<td><%= modules_connection.post.psttitle %></td>
							<td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
							<td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
							<td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
						</tr>
					<% end %>
				</tbody>
			</table>

			<%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>

		</div>

	</div>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
phcpress-6.1.3 app/views/phcpress/modules/connections/index.html.erb
phcpress-6.1.1 app/views/phcpress/modules/connections/index.html.erb