diff options
Diffstat (limited to 'share/skin/default/layout/field/file.tt')
-rw-r--r-- | share/skin/default/layout/field/file.tt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/share/skin/default/layout/field/file.tt b/share/skin/default/layout/field/file.tt new file mode 100644 index 0000000..7d323d8 --- /dev/null +++ b/share/skin/default/layout/field/file.tt @@ -0,0 +1,25 @@ +=for layout widget + +[% label %] [% field %] [% message %] + +=for layout field + +<input type="file" name="[% name | html%]" id="[% id | html %]" /> + +=for layout label + +<!-- This conditional goes away when mst comes up with something better --> +[% content_str = GET content; %] +[% IF content_str.length; %] + <label> [% content_str | html %]: </label> +[% END; %] + +=for layout message + +<!-- This conditional goes away when mst comes up with something better --> +[% content_str = GET content; %] +[% IF content_str.length; %] + <span> [% content_str | html %] </span> <br /> +[% END %] + +=cut |