Sha256: 61d24c7a83d679514a3f9df0c5caa047e397375f4423feddc4ce90efae13f2a7

Contents?: true

Size: 1.61 KB

Versions: 22

Compression:

Stored size: 1.61 KB

Contents

<!-- Title System -->
<% phc_title "Categories Manager" %>
<% phc_title_tagline "Categories 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 Name</th>
								<th></th>
							</tr>
						</thead>

						<tbody>
							<% @modules_categories.each do |modules_category| %>
								<tr>
									<td><%= modules_category.catname %></td>
									<td><div class="btn-group" role="group" aria-label="Blog Articles">
										<%= link_to 'Edit', edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %>
										<%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
										</div>
									</td>
								</tr>
							<% end %>
						</tbody>
					</table>
				</div>
				<div class="box-footer clearfix">
					<%= link_to 'New Category', new_modules_category_path, class: "btn btn-primary" %>
				</div>
			</div>

		</div>
	</div>
</section>
<!-- Main Content -->

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
phcpress-6.6.1 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.6.0 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.5.1 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.5.0 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.5 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.4 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.3 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.2 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.1 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.4.0 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.3.0 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.8 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.7 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.6 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.5 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.4 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.3 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.2 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.1 app/views/phcpress/modules/categories/index.html.erb
phcpress-6.2.0 app/views/phcpress/modules/categories/index.html.erb