#has '+layout' => (default => 'file');
+ override value_string => sub { '' };
+
override apply_our_events => sub {
my ($self, $ctx, $events) = @_;
my $value_key = join(':', $self->location, 'value');
-=for layout widget
-
-[% label %] [% field %] [% message %]
-
-=for layout field
-
-<input type="file" name="[% name | html%]" id="[% id | html %]" />
-
-=for layout label
-
-<!-- This conditional goes away when mst comes up with something better -->
-[% content_str = GET content; %]
-[% IF content_str.length; %]
- <label> [% content_str | html %]: </label>
-[% END; %]
-
-=for layout message
-
-<!-- This conditional goes away when mst comes up with something better -->
-[% content_str = GET content; %]
-[% IF content_str.length; %]
- <span> [% content_str | html %] </span> <br />
-[% END %]
+=extends field
=cut