cmtracker/templates/registration/register-step-admin.html.twig
2024-11-28 11:37:56 -05:00

94 lines
6.9 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Register Admin
{% endblock %}
{% block body %}
<div class="container position-sticky z-index-sticky top-0">
<div class="row">
<div class="col-12">
{{ block("nav", "libs/nav.html.twig") }}
</div>
</div>
</div>
<main class="main-content mt-0">
<section>
<div class="page-header min-vh-100">
<div class="container">
<div class="row">
<div class="col-6 d-lg-flex d-none h-100 my-auto pe-0 position-absolute top-0 start-0 text-center justify-content-center flex-column">
<div class="position-relative bg-gradient-primary h-100 m-3 px-7 border-radius-lg d-flex flex-column justify-content-center" style="background-image: url('/assets/img/illustrations/illustration-signup.jpg'); background-size: cover;"></div>
</div>
<div class="col-xl-4 col-lg-5 col-md-7 d-flex flex-column ms-auto me-auto ms-lg-auto me-lg-5">
<div class="card card-plain">
<div class="card-header">
<h4 class="font-weight-bolder">Sign Up</h4>
<p class="mb-0">Enter your email and password to register</p>
</div>
<div class="card-body">
{{ form_errors(form) }}
{{ form_start(form) }}
<div class="input-group input-group-outline mb-3">
<label for="registration_form_name" class="form-label">Name</label>
<input type="text" name="{{ field_name(form.name) }}" placeholder="" class="form-control" required="required"/>
</div>
<div class="input-group input-group-outline mb-3">
<label for="registration_form_username" class="form-label">Username</label>
<input type="text" name="{{ field_name(form.username) }}" placeholder="" class="form-control" required="required"/>
</div>
<div class="input-group input-group-outline mb-3">
<label for="registration_form_email" class="form-label">Email</label>
<input type="email" name="{{ field_name(form.email) }}" placeholder="" class="form-control" required="required"/>
</div>
<div class="input-group input-group-outline mb-3">
<label for="registration_form_plainPassword" class="form-label">Password</label>
<input type="password" name="{{ field_name(form.plainPassword) }}" placeholder="" class="form-control" required="required"/>
</div>
<div class="text-center">
<button type="submit" class="btn btn-lg bg-gradient-dark btn-lg w-100 mt-4 mb-0">Sign Up</button>
</div>
{{ form_end(form) }}
<!--
<form role="form" name="registration_form" method="post">
<div class="input-group input-group-outline mb-3">
<label class="form-label" for="registration_form_name">Name</label>
<input type="text" id="registration_form_name" name="registration_form[name]" required="required" class="form-control">
</div>
<div class='input-group input-group-outline mb-3'>
<label class='form-label' for="registration_form_username">Username</label>
<input type='text' id="registration_form_username" name="registration_form[username]" autocomplete="username" required="required" class='form-control'>
</div>
<div class="input-group input-group-outline mb-3">
<label class="form-label" for="registration_form_email">Email</label>
<input type="email" id="registration_form_email" name="registration_form[email]" required="required" class="form-control">
</div>
<div class="input-group input-group-outline mb-3">
<label class="form-label" for="registration_form_plainPassword">Password</label>
<input type="password" id="registration_form_plainPassword" name="registration_form[plainPassword]" autocomplete="current-password" required="required" class="form-control">
</div>
<div class="text-center">
<input type='hidden' name='registration_form[_token]' id='registration_form__token' value='{{ csrf_token("registration") }}'/>
<button type="submit" class="btn btn-lg bg-gradient-dark btn-lg w-100 mt-4 mb-0">Sign Up</button>
</div>
</form>
-->
</div>
<div class="card-footer text-center pt-0 px-lg-2 px-1">
<p class="mb-2 text-sm mx-auto">
Already have an account?
<a href="/index.php/" class="text-primary text-gradient font-weight-bold">Sign in</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Core JS Files -->
{% endblock %}