Link logged in user profile on homepage
This commit is contained in:
parent
610af799ec
commit
f65c5752bc
|
@ -1,5 +1,7 @@
|
||||||
<h1>Home</h1>
|
<h1>Home</h1>
|
||||||
<p>Logged in as <%= @user.username %></p>
|
<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 %>
|
<%= form_tag Routes.frontend_path(@conn, :post_status), method: :post do %>
|
||||||
<textarea id="content" name="content" cols="30" rows="10"></textarea>
|
<textarea id="content" name="content" cols="30" rows="10"></textarea>
|
||||||
|
|
Loading…
Reference in New Issue