Sha256: 93e693551996c017b759a20b4f22be386460dd7b5237648d4adf0d463a63ce34

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

- content_for :links do
	= link_to "New Post", new_post_path, class: "btn btn-default"

%table.table.table-bordered.table-striped
	%thead
		%tr
			%th Title
			%th Date
			%th Published?
	%tbody
		- @posts.each do |post|
			= content_tag_for(:tr, post) do
				%td= link_to post.title, post
				%td= post.date_parsed
				%td= post.published

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogr-0.0.7 app/views/blogr/posts/index.html.haml
blogr-0.0.6 app/views/blogr/posts/index.html.haml