App-TemplateCMD

 view release on metacpan or  search on metacpan

templates/html/form.html  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[%- UNLESS method %][% method = 'post'   %][% END -%]
[%- UNLESS action %][% action = '#'      %][% END -%]
[%- UNLESS legend %][% legend = 'legend' %][% END -%]
<form method="[% method %]" action="[% action %]">
 
        <fieldset>
                <legend>[% legend %]</legend>
                <div>
                        <label for="input-name">label</label>
                        <input type="text" name="input-name" id="input-name" value="text"/>
                </div>
        </fieldset>
 
        <fieldset>
                <div>
                        <input type="submit" value="Submit"/>
                </div>



( run in 0.273 second using v1.01-cache-2.11-cpan-2b0bae70ee8 )