qswiki/template/quitesimple/page_creation_preview

18 řádky
716 B
Plaintext

{wikiqs:include:page_header}
<main id="content">
This is a preview of your changes:<br>
{wikiqs:var:preview_content}
<hr>
<form action="{wikiqs:var:actionurl}" method="POST">
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
<textarea name="content" style="width: 100%;" rows=70>{wikiqs:var:content}</textarea>
<br><b>Comment:</b><br>
<input type="text" name="comment" size=50><br>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
</form>
</main>
{wikiqs:include:general_footer}