Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

show.html.erb 484B

    <div class="page-header"> <h1><%= @blog_post.title %></h1> <small><%= t "blog.by" %> <%= @blog_post.author.full_name %>, <%= time_ago_in_words(@blog_post.created_at) %> <%= t "blog.ago" %></small> </div> <%= @blog_post.content.html_safe %> <div style="margin-top: 40px; text-align: center;"> <%= link_to (t "nav.edit"), edit_blog_post_path(@blog_post), :class => 'btn btn-small' if user_signed_in? %> <%= link_to (t "nav.back"), blog_path, :class => 'btn btn-small' %> </div>