Skip to content

Commit

Permalink
Adding partial to front page for submitting stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMaksimize committed Feb 21, 2014
1 parent 111864f commit 48ecd33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ html
#wrap
include partials/navigation
.container
include partials/new_note
include partials/flash
block content
include partials/footer
13 changes: 13 additions & 0 deletions views/partials/new_note.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#new-note
form.form-horizontal(id='new-note-form', method='POST')
input(type='hidden', name='_csrf', value=token)
legend New Note
.form-group
label.col-sm-3.control-label(for='noteText') Text
.col-sm-7
input.form-control(type='text', name='noteText', id='note-text', placeholder='Text', autofocus)
.form-group
.col-sm-offset-3.col-sm-7
button.btn.btn-success(type='submit')
i.fa.fa-check
| Submit

0 comments on commit 48ecd33

Please sign in to comment.