sterzycom/panel/app/forms/avatars/delete.php

19 lines
315 B
PHP

<?php
return function($avatar) {
$form = new Kirby\Panel\Form(array(
'image' => array(
'type' => 'info'
)
));
$form->fields->image->text = '(image: ' . $avatar->url() . ' class: avatar avatar-full avatar-centered)';
$form->centered = true;
$form->style('delete');
return $form;
};