wiki-archive/twiki/templates/form.tmpl

14 lines
848 B
Cheetah

%TMPL:DEF{"changeform"}%<input type="submit" name="action_replaceform" value='%MAKETEXT{"Replace form..."}%' class="twikiChangeFormButton twikiButton" />%TMPL:END%
%TMPL:DEF{"mandatory"}%<span class="twikiAlert">*</span> %MAKETEXT{"indicates mandatory fields"}% %TMPL:END%
%TMPL:DEF{"repeatedformrows"}% %REPEAT%
<tr><th bgcolor="#99CCCC" align="right">%ROWTITLE%%ROWEXTRA%</th><td align="left">%ROWVALUE%</td></tr>%REPEAT%<tr><th bgcolor="#99CCCC" align="left" colspan="2">%ROWVALUE%</th></tr>%REPEAT% %TMPL:END%
%TMPL:DEF{"formtail"}% %TMPL:P{context="mandatoryfields" then="mandatory"}% %TMPL:END%
<div class="twikiForm twikiEditForm"><table class="twikiFormTable"><tr><th class="twikiFormTableHRow" bgcolor="#99CCCC" colspan="2">%FORMTITLE% %TMPL:P{"changeform"}%</th></tr>%TMPL:P{"repeatedformrows"}%</table>%TMPL:P{"formtail"}%</div>