Sha256: f4f54cc3beb614eab3fd52fabd01535ad52e92a0fae287f30b719acf66b1f644

Contents?: true

Size: 1.86 KB

Versions: 16

Compression:

Stored size: 1.86 KB

Contents

<!-- Title System -->
<% phc_title "Article Manager" %>
<% phc_title_tagline "Article Index" %>
<% phc_breadcrumb_one link_to "Article Index", phcpresspro.article_posts_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- Title System -->

<!-- Page Content -->
<div class="panel panel-inverse">
	<div class="panel-heading">
		<div class="panel-heading-btn">
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
			<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
		</div>
		<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
	</div>
	<div class="panel-body">
		<!-- Table - Article Index -->
		<div class="table-responsive">
			<table class="table table-striped table-bordered table-hover dataTables-example">
				<thead>
					<tr>
						<th>Post Headline</th>
						<th>Post Preview</th>
						<th>Post Status</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<% @article_posts.each do |article_post| %>
						<tr>
							<td><%= article_post.psttitle %></td>
							<td><%= truncate(article_post.psttext, :length => 80, :escape => false) %></td>
							<td><%= article_post.pststatus.capitalize %></td>
							<td><div class="btn-group" role="group" aria-label="Blog Articles">
								<%= link_to 'Edit Post', edit_article_post_path(article_post), class: "btn btn-primary btn-xs" %>
								<%= link_to 'Trash Post', article_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
							</div></td>
						</tr>
					<% end %>
				</tbody>
			</table>
		</div>
		<!-- Table - Article Index -->
	</div>
</div>
<!-- Page Content -->

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phcpresspro-69.1.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-69.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-68.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-67.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-66.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-65.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-64.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-63.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-62.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-61.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-60.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-59.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-58.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-57.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-56.0.0 app/views/phcpresspro/article/posts/index.html.erb
phcpresspro-55.0.0 app/views/phcpresspro/article/posts/index.html.erb