Sha256: c56a4841b45851fe3d7e93942c1fcef0e77a3bde4c1b3a0ace6846b44a3b0930

Contents?: true

Size: 1.13 KB

Versions: 21

Compression:

Stored size: 1.13 KB

Contents

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

		<div class="panel-heading">
			<i class="fa fa-pencil-square-o"></i> Article List
		</div>

		<div class="panel-body">

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

				<thead>
					<tr>
						<th>Title</th>
						<th>Text Preview</th>
						<th>Article Status</th>
						<th></th>
					</tr>
				</thead>

				<tbody>
					<% @articles_posts.each do |articles_post| %>
						<tr>
							<td><%= articles_post.psttitle %></td>
							<td><%= truncate(articles_post.psttext, :length => 80) %></td>
							<td><%= articles_post.pststatus %></td>
							<td><div class="btn-group" role="group" aria-label="Blog Articles">
								<%= link_to 'Edit', edit_articles_post_path(articles_post), class: "btn btn-primary btn-xs" %>
								<%= link_to 'Trash', articles_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
							</div></td>
						</tr>
					<% end %>
				</tbody>

			</table>

			<%= link_to 'New Blog Post', new_articles_post_path, class: "btn btn-primary" %>
		</div>

	</div>
</div>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
phcpresspro-4.2.6 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.2.4 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.2.3 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.2.2 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.2.1 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.2.0 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.9 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.8 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.6 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.5 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.2 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.1 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.1.0 app/views/phcpresspro/articles/posts/index.html.erb
phcpress-5.0.0 app/views/phcpress/articles/posts/index.html.erb
phcpresspro-4.0.6 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.0.5 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.0.4 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.0.3 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.0.2 app/views/phcpresspro/articles/posts/index.html.erb
phcpresspro-4.0.1 app/views/phcpresspro/articles/posts/index.html.erb