PHP Classes

File: aksara/Modules/Auth/Views/forgot/reset.php

Recommend this page to a friend!
  Packages of Aby Dahana   Aksara   aksara/Modules/Auth/Views/forgot/reset.php   Download  
File: aksara/Modules/Auth/Views/forgot/reset.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Refactor code for improved readability and consistency across multiple views

- Rearranged comments and code blocks for better organization in database.php, error_404.php, error_exception.php, error_exception.php (HTML), index.php, requirement.php, security.php, system.php, and Home module views.
- Ensured consistent formatting and indentation throughout the files.
- Added missing PHP opening tags and improved variable initialization.
- Enhanced error handling and user feedback in error views.
- Updated HTML structure for better semantic clarity and accessibility.
Date: 4 months ago
Size: 2,501 bytes
 

 

Contents

Class file image Download
<?php

/**
 * @var mixed $meta
 */
?>

<section class="section-padding fade-in">
    <div class="container position-relative text-center text-md-start">
        <h1 class="display-4 fw-bold text-dark">
            <?= $meta->title; ?>
        </h1>
        <p class="fs-5 text-muted mb-0">
            <?= truncate($meta->description, 256); ?>
        </p>
    </div>
</section>
<section class="section-padding">
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-lg-6">
                <form action="<?= current_page(); ?>" method="POST" class="--validate-form">
                    <div class="text-center text-md-start mb-3">
                        <label class="text-secondary" for="password_input">
                            <?= phrase('New Password'); ?>
                        </label>
                        <input type="password" name="password" class="form-control" id="password_input" placeholder="<?= phrase('Enter your new password'); ?>" />
                    </div>
                    <div class="mb-3">
                        <label class="text-secondary" for="confirm_password_input">
                            <?= phrase('Confirm New Password'); ?>
                        </label>
                        <input type="password" name="confirm_password" class="form-control" id="confirm_password_input" placeholder="<?= phrase('Confirm your new password'); ?>" />
                    </div>
                    <div class="mb-3">
                        <div class="row">
                            <div class="col-6">
                                <div class="d-grid">
                                    <a href="<?= current_page('../'); ?>" class="btn btn-light --xhr">
                                        <i class="mdi mdi-arrow-left"></i> <?= phrase('Back'); ?>
                                    </a>
                                </div>
                            </div>
                            <div class="col-6">
                                <div class="d-grid">
                                    <button type="submit" class="btn btn-primary">
                                        <i class="mdi mdi-check"></i> <?= phrase('Reset Password'); ?>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>