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

12 lines
387 B
Elixir

<h1>Home</h1>
<p>
Logged in as <a href="<%= Routes.actor_path(@conn, :get, @user.username) %>"><%= @user.username %></a>
</p>
<%= form_tag Routes.frontend_path(@conn, :post_status), method: :post do %>
<textarea id="content" name="content" cols="30" rows="10"></textarea>
<%= submit "Post" %>
<% end %>
<%= render "_timeline.html", statuses_with_authors: @statuses_with_authors %>