<div class="box">
<div class="box_header">Query or Command</div>
<br />
<form name="qbox" action="index" method="post" onsubmit="return submit_form(this);" id="form1">
    <div>
    % if c.query.lstrip()[0:4].lower() != "view":
        <textarea id="query" name="query">${c.query}</textarea>
    % else:
        <textarea id="query" name="query"></textarea>
    % endif
    </div>
    <div>
    <input id="submit" type="submit" value="Execute" />
    </div>
</form>
</div>
