PHP Classes

File: templates/forms/signin.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Link2Payment   templates/forms/signin.php   Download  
File: templates/forms/signin.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Link2Payment
Application to generate links for people to pay
Author: By
Last change:
Date: 5 months ago
Size: 795 bytes
 

Contents

Class file image Download
<?php namespace PH7App; ?>

<?php include dirname(__DIR__, 1) . '/includes/message.inc.php' ?>

<div class="row">
  <?php $form = new \AdamWathan\Form\FormBuilder; ?>
<?= $form->open()->addClass('col s12')->action(site_url('signin')) ?>
<?= $form->token() ?>
<?= $form->hidden('signin')->value(1) ?>

  <p>
      <?= $form->label('Email:')->forId('email') ?>
<?= $form->email('email')->id('email')
          ->
placeholder('myself@mybusiness.com')->required() ?>
</p>

  <p>
      <?= $form->label('Password:')->forId('password') ?>
<?= $form->password('password')->id('password')
          ->
placeholder('Your Secure Password')->required() ?>
</p>

  <p>
      <?= $form->submit('Sign In')->addClass('bold waves-effect btn-large') ?>
</p>

  <?= $form->close() ?>
</div>