Skip to content

Commit

Permalink
Update john.moon
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Oct 27, 2016
1 parent fa91cd1 commit 4e9089b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions john.moon
Expand Up @@ -13,13 +13,14 @@ class extends lapis.Application
form {
class: "pure-form"
action: @url_for "john_submissions"
method: "GET"
method: "POST"
}, ->
input type: "text", name: "john"
br!
input type: "submit", class: "pure-button"
JOHNS = Johns\paginated "* ORDER BY id DESC", per_page: 5
if Johnny = JOHNS\get_page 1
Johnny = JOHNS\get_page 1
if #Johnny > 0
p "Recent Johns:"
for j in *Johnny
li j.john
Expand Down

0 comments on commit 4e9089b

Please sign in to comment.