Sha256: 2fd1c69145c180b3de5a4c1ce151e68be2fb2106dcc5e516e89e99e87e063b5d

Contents?: true

Size: 958 Bytes

Versions: 19

Compression:

Stored size: 958 Bytes

Contents

<!-- Main Content -->
<div class="wrapper wrapper-content">
	<div class="panel panel-primary">

		<div class="panel-heading">
			<i class="fa fa-list-ul"></i> Category List
		</div>

		<div class="panel-body">

			<table class="table table-bordered table-striped table-hover">
				<thead>
					<tr>
						<th>Category Name</th>
						<th></th>
					</tr>
				</thead>

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

	</div>
</div>

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
phcpress-3.8.5 app/views/phcpress/categories/index.html.erb
phcpresspro-2.2.5 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.2.3 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.2.2 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.2.1 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.2.0 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.1.3 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.1.2 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.1.1 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.1.0 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.0.1 app/views/phcpresspro/categories/index.html.erb
phcpresspro-2.0.0 app/views/phcpresspro/categories/index.html.erb
phcpress-3.8.1 app/views/phcpress/categories/index.html.erb
phcpress-3.8.0 app/views/phcpress/categories/index.html.erb
phcpress-3.7.9 app/views/phcpress/categories/index.html.erb
phcpress-3.7.8 app/views/phcpress/categories/index.html.erb
phcpress-3.7.7 app/views/phcpress/categories/index.html.erb
phcpress-3.7.6 app/views/phcpress/categories/index.html.erb
phcpress-3.7.5 app/views/phcpress/categories/index.html.erb