Skip to content

Commit

Permalink
fix estilos actualizar nombre peña
Browse files Browse the repository at this point in the history
  • Loading branch information
jilgue committed Sep 10, 2024
1 parent 07a8d92 commit 50cdd20
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/routes/gang/[slug]/update/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,16 @@

{#if !form?.success}
<div class="hero">
<div class="hero-content text-center">
<div class="max-w-md flex">
<form method="POST" action="?/changeName" class="container">
<div class="form-control">
<h1 class="text-5xl font-bold">
<label>
<input type="text" name="name" value={gang.name} />
</label>
</h1>
</div>
<button type="submit" class="btn btn-accent">Actualizar</button>
</form>
</div>
<div class="hero-content">
<form method="POST" action="?/changeName" class="flex flex-col">
<h1 class="text-5xl font-bold">
<label>
<input type="text" name="name" value={gang.name} class="w-full" />
</label>
</h1>

<button type="submit" class="btn btn-accent max-w-32">Actualizar</button>
</form>
</div>
</div>

Expand Down

0 comments on commit 50cdd20

Please sign in to comment.