Sha256: d4221fbf36284f382c897bcc039c2a75e12d9b24c55367bf87b407288045a45d

Contents?: true

Size: 1.91 KB

Versions: 19

Compression:

Stored size: 1.91 KB

Contents

<!-- Title System -->
<% phc_title "Plugin: Article Category Manager" %>
<% phc_title_tagline "Category Index" %>
<!-- Title System -->

<!-- Page Header -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-sm-4">
		<h2><%= yield(:phc_title) %></h2>
		<!-- Bread Crumb -->
		<ol class="breadcrumb">
			<li><%= link_to "Category List", phcpresspro.modules_categories_path %></li>
			<li class="active"><%= yield(:phc_title_tagline) %></li>
		</ol>
	</div>
	<div class="col-sm-8">
		<div class="title-action">
			<%= link_to phcpresspro.new_modules_category_path, class: "btn btn-primary" do %>
				<i class="fa fa-plus"></i> Create a New Category
			<% end %>
		</div>
	</div>
</div>
<!-- Page Header -->

<!-- Page Content -->
<div class="wrapper wrapper-content animated fadeInRight">

	<div class="row">
		<div class="col-lg-12">

			<div class="ibox float-e-margins">

				<div class="ibox-title">
					<h5><%= yield(:phc_title_tagline) %></h5>
					<div class="ibox-tools">
						<a class="collapse-link">
							<i class="fa fa-chevron-up"></i>
						</a>
						<a class="close-link">
							<i class="fa fa-times"></i>
						</a>
					</div>
				</div>

				<div class="ibox-content">
					<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>
								<% @modules_categories.each do |modules_category| %>
									<tr>
										<td><%= link_to modules_category.catname, phcpresspro.edit_modules_category_path(modules_category) %></td>
										<td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
									</tr>
								<% end %>
							</tbody>
						</table>

					</div>
				</div>

			</div>

		</div>
	</div>

</div>
<!-- Page Content -->

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
phcpresspro-6.8.0 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.7.7 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.7.6 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.7.5 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.7.1 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.7.0 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.9 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.8 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.7 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.6 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.5 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.4 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.3 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.2 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.1 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.6.0 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.5.3 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.5.2 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-6.5.1 app/views/phcpresspro/modules/categories/index.html.erb