Sha256: d87cce4fc6243c7f2997b0aafbd20db8c9a86baa8c1df2713b9be4c0ebc25eeb

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

- content_for :links do
	= link_to "Edit User", edit_user_path, class: "btn btn-default"

%h4 Report Card
%ul
	%li
		%b Name:
		= @user.name
	%li
		%b Email:
		= @user.email
	%li
		%b Joined:
		= @user.created_at.strftime("%d %B %Y")
%hr
%h4
	= "#{@user.first_name}'s Posts"
%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

1 entries across 1 versions & 1 rubygems

Version Path
blogr-0.0.8 app/views/blogr/users/show.html.haml