X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/eabe84bd3f3ea514893ec700d598a06c2418f37e..refs/heads/dvorak42:/code/templates/functions.mako diff --git a/code/templates/functions.mako b/code/templates/functions.mako index 7b46a35..a6fdbe3 100644 --- a/code/templates/functions.mako +++ b/code/templates/functions.mako @@ -32,6 +32,14 @@ ${databaseList(sorted(database.Autoinstall.query, key=lambda x: x.description), % endfor %def> +<%def name="nicTypeList(default=None)"> +% for nictype in (('e1000', 'Intel e1000'), ('pcnet', 'AMD PCNet'), ): + +% endfor +%def> + <%def name="errorRow(value, err)"> % if err and err.err_field == value: