Jan Dittberner
12dc602c0b
use render in ddportfolio controller add webhelpers.rails to helpers.py create showform.mako resembling the output of the old ddportfolio.py
21 lines
861 B
Mako
21 lines
861 B
Mako
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>${_('Debian Developer Portfolio')}</title>
|
|
</head>
|
|
<body>
|
|
${h.start_form(h.url_for(action='handle_post'), method='post')}
|
|
<fieldset id="ddportfolio">
|
|
<legend>${_('Debian Developer Portfolio')}</legend>
|
|
<label for="name">${_('Name:')}</label><br />
|
|
${h.text_field('name', value=request.params.get('name', None))}<br />
|
|
<label for="email">${_('E-Mail address:')}</label><br />
|
|
${h.text_field('email', value=request.params.get('email', None))}<br />
|
|
<label for="username">${_('User name:')}</label><br />
|
|
${h.text_field('username', value=request.params.get('username', None))}<br />
|
|
${h.submit(value=_('Build DD Portfolio URLs'))}
|
|
</fieldset>
|
|
${h.end_form()}
|
|
</body>
|
|
</html>
|
|
|