Skip to content

Instantly share code, notes, and snippets.

@preaction
Created March 9, 2010 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save preaction/327301 to your computer and use it in GitHub Desktop.
Save preaction/327301 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Editing [% asset.title %]</title>
<style type="text/css">
label, input, textarea {
display : block;
}
textarea {
height : 16em;
width : 60em;
}
label {
font-family : Verdana, Arial, sans-serif;
font-size : 10pt;
font-weight : bold;
margin-bottom : 0.75em;
}
label.boolean, label.boolean input {
display : inline;
font-weight : normal;
}
#buttons {
position : absolute;
right : 10px;
top : 5px;
}
</style>
</head>
<body class="yui-skin-sam">
[% forms.edit_asset.head %]
[% FOREACH obj IN forms.edit_asset.objects %]
[% IF obj.name == "save" %]
<div id="buttons">[% obj.print() %]</div>
[% ELSE %]
[% obj.print() %]
[% END %]
[% END %]
[% forms.edit_asset.foot %]
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment