add link to public profile on user profile

This commit is contained in:
pena 2022-02-19 23:00:30 +01:00 committed by Swrup
parent 6b07ef17c7
commit 56c54cf8d1

View file

@ -1,5 +1,7 @@
let f nick bio request = let f nick bio request =
<h1><%s Format.sprintf "Hello %s !" nick %></h1> <h1><%s Format.sprintf "Hello %s !" nick %></h1>
<p>Check your <a href="/user/<%s nick %>">public profile rendering</a>.</p>
<h2>Edit profile</h2>
<%s! Dream.form_tag ~action:"/profile" request %> <%s! Dream.form_tag ~action:"/profile" request %>
<div class="mb-3"> <div class="mb-3">
<label for="bio" class="form-label">Bio</label> <label for="bio" class="form-label">Bio</label>