extends layout
block content

    form(method='POST', action='/forms/postData', role="form")
        input(type='submit', id='submit', name='submit',
        value='Clear Post Data', class='btn btn-default')

    = postData


extends layout
block content

    form(method='POST', action='/forms/postData', role="form")
        input(type='submit', id='submit', name='submit',
        value='Clear Post Data', class='btn btn-default')


    textarea(cols=200, rows='auto', id='data')
      = postData


    script(src="//code.jquery.com/jquery-1.11.0.min.js")
    script(type='text/javascript').
      $(function() {
         $('textarea').height($('textarea').prop('scrollHeight'));
      });


Clean up post data a little
Clean up post data a little
