witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/view/Form_submit_page.py

17 lines
323 B
Python

from Tags import Html, Head, Body, Script
class Form_submit_page( Html ):
def __init__( self, form ):
Html.__init__(
self,
Head(),
Body(
form,
Script( # auto-submit the form
u"document.forms[ 0 ].submit();",
type = u"text/javascript",
),
),
)