<%= if @feed.favicon do %> <%= @feed.title %> favicon <% end %> <%= @feed.title %>

<%= form_tag Routes.feed_path(@conn, :refresh, @feed.id), method: :post, class: "d-inline" do %> <%= submit "Refresh Feed", class: "btn btn-primary" %> <% end %> Edit Feed <%= form_tag Routes.feed_path(@conn, :delete, @feed.id), method: :delete, class: "d-inline" do %> <%= submit "Delete Feed", class: "btn btn-danger" %> <% end %>

Items

<%= unless is_nil(@prev_page_path) do %>

Newer

<% end %> <%= for item <- @items do %> class="item-read"<% end %>> <% end %>
<%= item.title || "(Untitled)" %> <%= if item.date do %> <% {:ok, date} = Timex.format(item.date, "{YYYY}-{0M}-{0D} {0h12}:{m} {AM}") %> <%= date %> <% end %> <%= if item.read do %> <%= form_tag Routes.item_path(@conn, :unread, item.id), method: :post do %> <%= submit "Unread", class: "btn btn-sm btn-secondary" %> <% end %> <% else %> <%= form_tag Routes.item_path(@conn, :read, item.id), method: :post do %> <%= submit "Read", class: "btn btn-sm btn-secondary" %> <% end %> <% end %>
<%= unless is_nil(@next_page_path) do %>

Older

<% end %>