Commit | Line | Data |
---|---|---|
2f670e13 | 1 | package Reaction::UI::Widget::Field::Mutable::File; |
8f19d042 | 2 | |
3 | use Reaction::UI::WidgetClass; | |
4 | ||
bae75bee | 5 | use namespace::clean -except => [ qw(meta) ]; |
6 | extends 'Reaction::UI::Widget::Field::Mutable'; | |
8f19d042 | 7 | |
5db4d87c | 8 | |
bae75bee | 9 | |
10 | after fragment widget { | |
11 | arg field_type => 'file'; | |
8f19d042 | 12 | }; |
13 | ||
bae75bee | 14 | __PACKAGE__->meta->make_immutable; |
15 | ||
16 | ||
8f19d042 | 17 | 1; |
18 | ||
6ab43711 | 19 | __END__; |
8f19d042 | 20 | |
5a1a893e | 21 | =head1 NAME |
8f19d042 | 22 | |
e516f7e6 | 23 | Reaction::UI::Widget::Field::Mutable::File - A file input field |
8f19d042 | 24 | |
5a1a893e | 25 | =head1 DESCRIPTION |
8f19d042 | 26 | |
f9b32c83 | 27 | See L<Reaction::UI::Widget::Field::Mutable> |
28 | ||
29 | =head1 FRAGMENTS | |
30 | ||
31 | =head2 widget | |
32 | ||
33 | The C<field_type> argument will be set to C<file>. | |
8f19d042 | 34 | |
5a1a893e | 35 | =head1 AUTHORS |
8f19d042 | 36 | |
5a1a893e | 37 | See L<Reaction::Class> for authors. |
8f19d042 | 38 | |
5a1a893e | 39 | =head1 LICENSE |
8f19d042 | 40 | |
5a1a893e | 41 | See L<Reaction::Class> for the license. |
8f19d042 | 42 | |
43 | =cut |