package Reaction::UI::Widget::Field::Mutable::MatchingPasswords; use Reaction::UI::WidgetClass; use namespace::clean -except => [ qw(meta) ]; extends 'Reaction::UI::Widget::Field::Mutable::Password'; implements fragment check_field { arg 'field_id' => event_id 'check_value'; arg 'field_name' => event_id 'check_value'; render 'field'; #piggyback! }; implements fragment check_label { if (my $label = $_{viewport}->check_label) { arg label => localized $label; render 'label'; } }; __PACKAGE__->meta->make_immutable; 1; __END__; =head1 NAME Reaction::UI::Widget::Field::Mutable::MatchingPasswords - Require double input of password =head1 DESCRIPTION This is a subclass of L implementing a second field to repeat the password input. =head1 FRAGMENTS =head2 widget Will render the C fragment after the original C fragment. =head2 check_field Renders C with C and C set to the viewport's C event. =head2 check_label Localises the C