Created
March 2, 2011 12:49
-
-
Save kuon/850869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render:function(ctx, first) { | |
if(first) { | |
ctx.push('<label class="block">', "_clients.sidebar.label.name".loc(), '</label>', | |
'<input class="block" name="name" type="text">', | |
'<label class="block">', "_clients.sidebar.label.contentMgr".loc(), '</label>', | |
'<label class="block secondary">', | |
'<input type="radio" value="0" name="contentMgrType">', | |
"_clients.sidebar.label.screenGate".loc(), | |
'</label>', | |
'<label class="block secondary">', | |
'<input type="radio" value="1" name="contentMgrType">', | |
"_clients.sidebar.label.custom".loc(), | |
'<input style="width:170px" name="contentMgr" type="text">'); | |
'</label>', | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment