html_tag input_tag hidden_tag javascript man_days_tag name_to_id select_tag
checkbox_tag button_tag submit_tag ajax_submit_tag input_number_tag
stringify_attributes restricted_html textarea_tag link_tag date_tag
-);
+ div_tag);
our %EXPORT_TAGS = (ALL => \@EXPORT_OK);
use Carp;
);
}
+sub div_tag {
+ my ($content, %params) = @_;
+ return html_tag('div', $content, %params);
+}
+
1;
__END__
sub input_number_tag { return _call_presenter('input_number_tag', @_); }
sub textarea_tag { return _call_presenter('textarea_tag', @_); }
sub date_tag { return _call_presenter('date_tag', @_); }
+sub div_tag { return _call_presenter('div_tag', @_); }
sub _set_id_attribute {
my ($attributes, $name, $unique) = @_;
return $code;
}
-sub div_tag {
- my ($self, $content, @slurp) = @_;
- return $self->html_tag('div', $content, @slurp);
-}
-
sub ul_tag {
my ($self, $content, @slurp) = @_;
return $self->html_tag('ul', $content, @slurp);