%= if @item.read do %> <%= form_tag Routes.item_path(@conn, :unread, @item.id), method: :post do %> <%= submit "Mark as Unread" %> <% end %> <% else %> <%= form_tag Routes.item_path(@conn, :read, @item.id), method: :post do %> <%= submit "Mark as Read" %> <% end %> <% end %> <%= @feed.title %>