cedb312c2f
git-subtree-dir: applications/users git-subtree-split: 1269ef321098783e8699978b9c4dea9592d8f3e3
9 lines
240 B
Plaintext
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"
|