Old high school files. Lessson notes/codes/projects etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hsf/wesweb01/evil_infosite/views/profile.slim

11 lines
347 B

article
- if(session[:username] != nil) then
h1 Logged in as #{session[:username]}
form action="/updateavatar" method="post"
input type="text" name="avatar_url" placeholder="Picture URL"
input type="submit" value="Update avatar"
form action="/logout" method="post"
input type="submit" value="Logout"