qswiki/template/quitesimple/page_creation_preview

18 sor
748 B
Plaintext

{qswiki:include:page_header}
<main id="content">
This is a preview of your changes:<br>
{qswiki:var:preview_content}
<hr>
<form action="{qswiki: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>{qswiki:var:content}</textarea>
<br><b>Comment:</b><br>
<input type="text" name="comment" size="50" value="{qswiki:var:comment}"/><br>
<input type="hidden" name="csrf_token" value="{qswiki:var:csrf_token}"></input>
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
</form>
</main>
{qswiki:include:general_footer}