simplex2/views/user_me.moon
Paul Liverman III cedb312c2f Squashed 'applications/users/' content from commit 1269ef3
git-subtree-dir: applications/users
git-subtree-split: 1269ef321098783e8699978b9c4dea9592d8f3e3
2018-03-13 02:10:31 -07:00

9 lines
240 B
Plaintext

import Widget from require "lapis.html"
class extends Widget
content: =>
p "Username: #{@user.name} (#{@user.id})"
p "Email Address: #{@user.email}"
p "Is admin? #{@user.admin}"
p -> a href: @url_for("user_edit"), "Edit"