232 |
div { { class is 'unit' } |
div { { class is 'unit' } |
233 |
|
|
234 |
if ( $editing ) { |
if ( $editing ) { |
235 |
outs_raw($delete->button( |
form { |
236 |
label => _('Delete unit'), |
outs_raw($delete->button( |
237 |
class => 'float-crud-button button-delete', |
label => _('Delete unit'), |
238 |
onclick => { |
class => 'float-crud-button button-delete', |
239 |
submit => $delete, |
onclick => { |
240 |
confirm => _('Really delete?'), |
submit => $delete, |
241 |
# region => Jifty->web->current_region, |
confirm => _('Really delete?'), |
242 |
replace_with => '/__jifty/empty', |
# region => Jifty->web->current_region, |
243 |
refresh_self => 1, |
replace_with => '/__jifty/empty', |
244 |
args => { id => $id }, |
refresh_self => 1, |
245 |
}, |
args => { id => $id }, |
246 |
)); |
}, |
247 |
|
)); |
248 |
|
} |
249 |
}; |
}; |
250 |
|
|
251 |
foreach my $f ( $self->display_columns ) { |
foreach my $f ( $self->display_columns ) { |