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