Permalink
Browse files

added a view element for accepting request content

  • Loading branch information...
1 parent 8352318 commit 87bb30630d56dcad4e5f77d2077ac0f4e310809e @dgc-wh dgc-wh committed Aug 10, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 views/api.jade
View
8 views/api.jade
@@ -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.