<% elems = [ (_('Email prefix'), c.rhodecode_ini.get('email_prefix'), ''), (_('RhodeCode email from'), c.rhodecode_ini.get('app_email_from'), ''), (_('Error email from'), c.rhodecode_ini.get('error_email_from'), ''), (_('Error email recipients'), c.rhodecode_ini.get('email_to'), ''), (_('SMTP server'), c.rhodecode_ini.get('smtp_server'), ''), (_('SMTP username'), c.rhodecode_ini.get('smtp_username'), ''), (_('SMTP password'), '%s chars' % len(c.rhodecode_ini.get('smtp_password', '')), ''), (_('SMTP port'), c.rhodecode_ini.get('smtp_port'), ''), (_('SMTP use TLS'), c.rhodecode_ini.get('smtp_use_tls'), ''), (_('SMTP use SSL'), c.rhodecode_ini.get('smtp_use_ssl'), ''), (_('SMTP auth'), c.rhodecode_ini.get('smtp_auth'), ''), ] %> %for dt, dd, tt in elems:
${dt}:
${dd}
%endfor
${h.form(url('admin_settings_email'), method='post')}
${h.text('test_email',size=30)}
${h.submit('send',_('Send'),class_="btn")}
${h.end_form()}