--- lib/Arh/View/Materials.pm 2007/12/10 14:56:12 28 +++ lib/Arh/View/Materials.pm 2007/12/10 15:16:52 29 @@ -65,7 +65,7 @@ div { { class is 'form_field' }; if ( $record->current_user_can('delete') && $self->current_user->editing ) { - hyperlink( + outs_raw( $delete->button( label => _("Delete material"), class => "float-crud-button button-delete", onclick => { @@ -76,7 +76,7 @@ args => { id => $id }, }, as_button => 1, - ); + )); }; label { { class is 'label' } _("Material") }; span { $record->material->name };