2019-10-06 23:41:18 +00:00
|
|
|
<h1>Home</h1>
|
2020-04-22 01:29:06 +00:00
|
|
|
<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 %>
|
2020-04-20 22:37:07 +00:00
|
|
|
|
2020-04-22 02:06:48 +00:00
|
|
|
<%= render "_timeline.html", statuses_with_authors: @statuses_with_authors %>
|