mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
fix(install): set message block on forms to show error messages
fixes #157
This commit is contained in:
parent
b7f285e4e2
commit
3a0a20d59c
3 changed files with 23 additions and 1 deletions
|
|
@ -30,6 +30,8 @@ class Alert extends Component
|
|||
$title = $this->title === null ? '' : '<div class="font-semibold">' . $this->title . '</div>';
|
||||
$class = 'inline-flex w-full p-2 text-sm border rounded ' . $variantClasses[$this->variant] . ' ' . $this->class;
|
||||
|
||||
unset($this->attributes['slot']);
|
||||
unset($this->attributes['variant']);
|
||||
$attributes = stringify_attributes($this->attributes);
|
||||
|
||||
return <<<HTML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue