Sha256: 1f3a1f428dca089e892ce3bce08f04e96bc8bc9e86f74da67d066fc4db3df911

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

<!-- Title System -->
<% phc_title "Article Category Manager" %>
<% phc_title_tagline "Category Index" %>
<% phc_breadcrumb_one yield(:phc_title) %>
<% phc_breadcrumb_two link_to "Category Index", phcpresspro.article_categories_path %>
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
<!-- Title System -->

<!-- Page Bradcrumbs -->
<ol class="breadcrumb pull-right">
	<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 -->
			
<!-- Page Content -->
<div class="panel panel-inverse">
	<div class="panel-heading">
		<div class="panel-heading-btn">
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
		</div>
		<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
	</div>
	<div class="panel-body">
		<!-- Table - Category Index -->
		<div class="table-responsive">
			<table class="table table-striped table-bordered table-hover dataTables-example">
				<thead>
					<tr>
						<th>Category Name</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<% @article_categories.each do |article_category| %>
						<tr>
							<td><%= link_to article_category.catname, phcpresspro.edit_article_category_path(article_category) %></td>
							<td><%= link_to 'Trash', article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
						</tr>
					<% end %>
				</tbody>
			</table>
		</div>
		<!-- Table - Category Index -->
	</div>
</div>
<!-- Page Content -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcpresspro-80.3.0 app/views/phcpresspro/article/categories/index.html.erb