wiki-archive/twiki/templates/form.pattern.tmpl

10 lines
789 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 align="right">%ROWTITLE%%ROWEXTRA%</th><td align="left">%ROWVALUE%</td></tr>%REPEAT%<tr><th 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" colspan="2">%FORMTITLE% %TMPL:P{"changeform"}%</th></tr>%TMPL:P{"repeatedformrows"}%</table>%TMPL:P{"formtail"}%</div>