aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/Field
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-02-26 04:14:37 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-02-26 04:14:37 +0000
commit24185a7d1e90ac8980462b9f471e016504d73e3c (patch)
tree0c8bc7f1d0481f7684f16bac842ebe296c215889 /lib/Reaction/UI/Widget/Field
parent5ae92ec0095809ce8dc2b9499212f8708cb6d2e1 (diff)
downloadreaction-24185a7d1e90ac8980462b9f471e016504d73e3c.tar.gz
reaction-24185a7d1e90ac8980462b9f471e016504d73e3c.zip
first DRAFT of matching passwords widget so we can move it out of the model. not tested yet at all.
Diffstat (limited to 'lib/Reaction/UI/Widget/Field')
-rw-r--r--lib/Reaction/UI/Widget/Field/Mutable/MatchingPasswords.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Reaction/UI/Widget/Field/Mutable/MatchingPasswords.pm b/lib/Reaction/UI/Widget/Field/Mutable/MatchingPasswords.pm
new file mode 100644
index 0000000..44c7103
--- /dev/null
+++ b/lib/Reaction/UI/Widget/Field/Mutable/MatchingPasswords.pm
@@ -0,0 +1,16 @@
+package Reaction::UI::Widget::Field::Mutable::MatchingPasswords;
+
+use Reaction::UI::WidgetClass;
+use aliased 'Reaction::UI::Widget::Field::Mutable::Password';
+
+class MatchingPasswords is Password, which {
+
+ implements fragment check_value {
+ arg 'field_id' => event_id 'check_value';
+ arg 'field_name' => event_id 'check_value';
+ render 'field'; #piggyback!
+ };
+
+};
+
+1;