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

12 lines
387 B
Elixir
Raw Normal View History

2019-10-06 23:41:18 +00:00
<h1>Home</h1>
<p>
Logged in as <a href="<%= Routes.actor_path(@conn, :get, @user.username) %>"><%= @user.username %></a>
</p>
2019-10-06 23:41:18 +00:00
<%= 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 %>