clacks/lib/clacks_web/templates/frontend/home.html.eex

10 lines
343 B
Elixir
Raw Normal View History

2019-10-06 23:41:18 +00:00
<h1>Home</h1>
2020-04-25 16:30:47 +00:00
<%= form_tag Routes.frontend_path(@conn, :post_status), method: :post, class: "compose-status" do %>
<textarea id="content" name="content" rows="5" placeholder="What's up?" required></textarea>
2019-10-06 23:41:18 +00:00
<%= submit "Post" %>
2020-04-25 16:30:47 +00:00
<hr>
2019-10-06 23:41:18 +00:00
<% end %>
2020-04-25 16:30:47 +00:00
<%= render "_timeline.html", conn: @conn, statuses_with_authors: @statuses_with_authors %>