frontender 4

This commit is contained in:
julian
2024-07-04 13:45:42 -03:00
parent efd656a208
commit ad3c3f8e33
4 changed files with 18 additions and 14 deletions

View File

@ -7,7 +7,7 @@ defmodule DerivantesWeb.UserRegistrationLive do
def render(assigns) do
~H"""
<div class="register_screen">
<.header class="text-center mb-5 mt-5">
<.header class="text-center mb-5 mt-5 text-xl">
Registre su nueva cuenta
<:subtitle>
¿Ya tiene una cuenta?
@ -31,13 +31,13 @@ defmodule DerivantesWeb.UserRegistrationLive do
<.error :if={@check_errors}>
Hubo un error.
</.error>
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo" style="margin-top: 5px; margin-bottom: 20px;"/>
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo" style="margin-top: 30px; margin-bottom: 20px;"/>
<.input class="imput_text w-40" field={@form[:matricula]} type="text" placeholder="Matrícula" required />
<.input class="imput_text w-40" field={@form[:email]} type="email" placeholder="Email" required />
<.input class="imput_text w-40" field={@form[:password]} type="password" placeholder="Contraseña" required />
<:actions>
<.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 15px;">Crear cuenta</.button>
<.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 20px; margin-bottom: 25px;">Crear cuenta</.button>
</:actions>
</.simple_form>
</div>