|
<h2><%= t(".microposts") %></h2>
|
|
|
|
<%= link_to t(".new"), new_micropost_path %>
|
|
|
|
<% if @microposts.empty? %>
|
|
<p><%= t(".empty") %></p>
|
|
<% else %>
|
|
<ul id="microposts">
|
|
<% @microposts.each do |micropost| %>
|
|
<li><%= render micropost %></li>
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|