start of new widgets for fields
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / ChooseMany.pm
diff --git a/lib/Reaction/UI/Widget/Field/ChooseMany.pm b/lib/Reaction/UI/Widget/Field/ChooseMany.pm
new file mode 100644 (file)
index 0000000..9cfa1f3
--- /dev/null
@@ -0,0 +1,34 @@
+package Reaction::UI::Widget::Field::ChooseMany;
+
+use Reaction::UI::WidgetClass;
+
+class ChooseMany is 'Reaction::UI::Widget::Field', which {
+
+};
+
+1;
+
+
+=for layout widget
+
+[% label %] [% field %] [% message %] <br>
+
+=for layout field
+
+TODO
+
+=for layout label
+
+<!-- This conditional goes away when mst comes up with something better -->
+[% IF content %]
+  <label for="[% id %]"> [% 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