<%=stylesheet_link_tag "NewBlog/application"%>
<div class="widget_index">
	<table>
  	<tr>
    	<th><%= t('blog.title') %></th>
    	<th><%= t('blog.body') %></th>
  	</tr>

		<% @posts.each do |post| %>
  	<tr>
    	<td><%= link_to post.title,panel_blog_post_path(post) %></td>
    	<td><%= post.body.truncate(14) %></td>
  	</tr>
		<% end %>
	</table>
</div>