Sha256: 43de5609abb0e1b160b4bff47d4a699d204f8c6e792ae986d45fc7ace3fef968

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

<!-- Title System -->
<% phc_title "PHCPress Plugins - Categories" %>
<% phc_title_tagline "Category Index" %>

<!-- Bread Crumb -->
<div class="page-bar">

	<ul class="page-breadcrumb">
		<li><%= link_to "Articles List", phcpresspro.modules_categories_path %><i class="fa fa-circle"></i></li>
		<li class="active"><%= yield(:phc_title_tagline) %></li>
	</ul>

</div>

<!-- Page Title -->
<h3 class="page-title">
	<%= yield(:phc_title) %> </br>
	<small><%= yield(:phc_title_tagline) %></small>
</h3>

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

		<div class="portlet light">

			<div class="portlet-title">

				<div class="caption">
					<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
				</div>

				<div class="actions">
					<%= link_to phcpresspro.new_modules_category_path, class: "btn blue-chambray" do %>
						<i class="fa fa-plus"></i> Create a New Category
					<% end %>
				</div>

			</div>

			<div class="portlet-body">
				<div class="table-responsive">

					<table class="table table-striped table-bordered table-hover table-header-fixed">

						<thead>
							<tr>
								<th>Category Name</th>
								<th></th>
							</tr>
						</thead>

						<tbody>
							<% @modules_categories.each do |modules_category| %>
								<tr>
									<td><%= link_to modules_category.catname, 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>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcpresspro-4.2.10 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-4.2.9 app/views/phcpresspro/modules/categories/index.html.erb