mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
fix: Use standard html attributes
This commit is contained in:
parent
c73201ffe2
commit
2547b91a77
2 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@
|
|||
?>
|
||||
<div class="mob" onclick="htmx.trigger(document.forms['<?= $side ?>'], 'submit', {})" id="form-<?= $side ?>">
|
||||
<form action="?<?= $side ?>" method="POST" name="<?= $side ?>"
|
||||
hx-post="?<?= $side ?>&ajax" hx-target=".selection" hx-swap="outerHTML"
|
||||
hx-ext="img-preload" data-preload-spinner=".middle">
|
||||
data-hx-post="?<?= $side ?>&ajax" data-hx-target=".selection" data-hx-swap="outerHTML"
|
||||
data-hx-ext="img-preload" data-preload-spinner=".middle">
|
||||
<input type="hidden" name="csrfToken" value="<?= $csrfToken ?>">
|
||||
<h2><?= $mob["name"]; ?></h2>
|
||||
<img alt="<?= $mob["name"]; ?>" src="/images/mobs/<?= $mob["image"] ?? "_placeholder.png"; ?>">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><?= $title ?? ""; ?></title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
|
||||
|
|
Loading…
Reference in a new issue