Sha256: 0fac437d865267c06c71717f1206a12b72a227db3e2946d750fdf643cb32a14f

Contents?: true

Size: 998 Bytes

Versions: 8

Compression:

Stored size: 998 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>
					<% @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(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>
			<%= link_to 'New Category', new_category_path, class: "btn btn-primary" %>
		</div>

	</div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcpresspro-3.0.7 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.6 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.5 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.4 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.3 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.2 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.1 app/views/phcpresspro/modules/categories/index.html.erb
phcpresspro-3.0.0 app/views/phcpresspro/modules/categories/index.html.erb