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

10 lines
343 B
Elixir

<h1>Home</h1>
<%= 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>
<%= submit "Post" %>
<hr>
<% end %>
<%= render "_timeline.html", conn: @conn, statuses_with_authors: @statuses_with_authors %>