Add missing name for paste body field on clone page

The `name="p"` part is present in index but not the clone page. Without the change I am getting "Empty paste" when submitting any paste from the clone page.
This commit is contained in:
Felix Yan 2016-06-29 11:12:06 -05:00 committed by GitHub
parent 0c252c3c4b
commit 6b18baf7c6
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
</div>
<div class="form-group is-empty" style="margin-top: 0px;">
<textarea class="form-control" rows="20" id="textArea" data-autoresize>{{printf "%s" .Body}}</textarea>
<textarea class="form-control" rows="20" id="textArea" name="p" data-autoresize>{{printf "%s" .Body}}</textarea>
<span class="help-block">Paste your text here</span>
</div>
</div>