<form method='POST' target='preview-tab'> <input type="hidden" name="path" value="{{ relative_file_path }}" /> <input type="hidden" name="url" value="{{ request.path }}" /> <textarea id='code' name='content'>{{ content }}</textarea> </form>