Browse Source

add pretty=true to home page forms

pull/78/head
Aaron Parecki 5 years ago
committed by GitHub
parent
commit
5a0fb35d72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      views/index.php

+ 2
- 0
views/index.php View File

@ -8,6 +8,7 @@
<form class="" action="parse" method="get"> <form class="" action="parse" method="get">
<div class="field"><input type="url" name="url" placeholder="http://example.com"></div> <div class="field"><input type="url" name="url" placeholder="http://example.com"></div>
<div class="field"><button type="submit" class="button" value="Go">Go</button></div> <div class="field"><button type="submit" class="button" value="Go">Go</button></div>
<input type="hidden" name="pretty" value="true">
</form> </form>
</div> </div>
@ -16,6 +17,7 @@
<div class="field"><textarea name="html" rows="4" placeholder="HTML"></textarea></div> <div class="field"><textarea name="html" rows="4" placeholder="HTML"></textarea></div>
<div class="field"><input type="url" name="url" placeholder="http://example.com"></div> <div class="field"><input type="url" name="url" placeholder="http://example.com"></div>
<div class="field"><input type="submit" class="button" value="Go"></div> <div class="field"><input type="submit" class="button" value="Go"></div>
<input type="hidden" name="pretty" value="true">
</form> </form>
</div> </div>

Loading…
Cancel
Save