Skip to content

Commit

Permalink
Add a photo upload form to test with
Browse files Browse the repository at this point in the history
  • Loading branch information
ciberch committed Aug 30, 2012
1 parent b5417fd commit 0135d8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions views/activity_create.jade
@@ -1,3 +1,12 @@
- if(!session.auth)
form#new_photo(method="post", enctype="multipart/form-data", action="/photos")
.hero-unit.second-hero
.row
.span5
input(type="file", name="image")
input.btn(type="submit", value="Upload")


form#new_activity
.hero-unit.second-hero
.row
Expand Down

0 comments on commit 0135d8e

Please sign in to comment.