Subversion Repositories owmoduleforms

[/] [trunk/] [design/] [standard/] [templates/] [owmoduleforms/] [form_elements.tpl] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 fmagnan
{foreach $form_elements as $element}
2 33 fmagnan
        {if $element.type|eq('container')}
3 9 fmagnan
                {include uri='design:owmoduleforms/owformcontainer.tpl' element=$element}
4 33 fmagnan
        {elseif $element.type|eq('fieldset')}
5 9 fmagnan
                {include uri='design:owmoduleforms/owformfieldset.tpl' element=$element}
6 33 fmagnan
        {elseif $element.type|eq('datetime')}
7 15 fmagnan
                {include uri='design:owmoduleforms/owformdatetime.tpl' element=$element}
8 33 fmagnan
        {elseif $element.type|eq('markup')}
9 9 fmagnan
                {include uri='design:owmoduleforms/owformmarkup.tpl' element=$element}
10 33 fmagnan
    {elseif $element.type|eq('hidden')}
11 23 fmagnan
                {include uri='design:owmoduleforms/owformhidden.tpl' element=$element}
12 33 fmagnan
    {elseif $element.type|eq('submit')}
13 20 fmagnan
        {include uri='design:owmoduleforms/owformsubmit.tpl' element=$element}
14 33 fmagnan
    {elseif $element.type|eq('button')}
15 20 fmagnan
        {include uri='design:owmoduleforms/owforminputbutton.tpl' element=$element}
16 33 fmagnan
    {elseif $element.type|eq('image')}
17 20 fmagnan
        {include uri='design:owmoduleforms/owformimage.tpl' element=$element}
18 11 fmagnan
    {else}
19 9 fmagnan
                {include uri='design:owmoduleforms/owforminput.tpl' element=$element}
20 6 fmagnan
        {/if}
21 4 fmagnan