Browse Source

Link logged in user profile on homepage

master
Shadowfacts 1 year ago
parent
commit
f65c5752bc
Signed by: shadowfacts GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      lib/clacks_web/templates/frontend/home.html.eex

+ 3
- 1
lib/clacks_web/templates/frontend/home.html.eex View File

@ -1,5 +1,7 @@
<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 %>
<textarea id="content" name="content" cols="30" rows="10"></textarea>


Loading…
Cancel
Save