add link to public profile on user profile

This commit is contained in:
zapashcanon 2022-02-19 23:00:30 +01:00
parent 23e0add29d
commit b3373ff332
No known key found for this signature in database
GPG key ID: 8981C3C62D1D28F1

View file

@ -1,5 +1,7 @@
let f nick bio request =
<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 %>
<div class="mb-3">
<label for="bio" class="form-label">Bio</label>