debianmemberportfolio/ddportfolioservice/templates/showform.mako

35 lines
1.3 KiB
Text
Raw Normal View History

<!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>
${h.stylesheet_link_tag('style')}
</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:')}
% if 'name' in c.messages['errors']:
<br /><span class="errormsg">${c.messages['errors']['name']}</span>
% endif
</label><br />
${h.text_field('name', value=request.params.get('name', None))}<br />
<label for="email">${_('E-Mail address:')}
% if 'email' in c.messages['errors']:
<br /><span class="errormsg">${c.messages['errors']['email']}</span>
% endif
</label><br />
${h.text_field('email', value=request.params.get('email', None))}<br />
<label for="username">${_('User name:')}
% if 'username' in c.messages['errors']:
<br /><span class="errormsg">${c.messages['errors']['username']}</span>
% endif
</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>