Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added a view element for accepting request content
  • Loading branch information
David Cheney committed Aug 10, 2012
1 parent 8352318 commit 87bb306
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions views/api.jade
Expand Up @@ -146,5 +146,13 @@ ul
a(href='#', class='remove') Remove
a(href='#', class='add-headers') Add Header
// Create header fields and button to add/remove headers.
- if (method.content )
div.content
h4.title
div.indicator
span Content
div.fields
textarea(columns='80', rows='10', name='requestContent', placeholder='{}')
a(href='#', class='remove') Remove
- if (!method['read-only'])
input(type='submit', id=method.MethodName, value='Try it!')

0 comments on commit 87bb306

Please sign in to comment.