PHP Classes

File: templates/account/edit.html.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   GetMeALatte   templates/account/edit.html.php   Download  
File: templates/account/edit.html.php
Role: Example script
Content type: text/plain
Description: Example script
Class: GetMeALatte
Promote a product to be sold to a crowd
Author: By
Last change:
Date: 1 year ago
Size: 1,010 bytes
 

Contents

Class file image Download
<div class="center">
    <div class="row">
        <h4 class="blue-text">Edit Account</h4>

        <form method="post" action="<?= site_url('/account/edit') ?>" class="col s12">
            <p class="input-field col s6">
                <i class="material-icons prefix">account_circle</i>
                <label for="name">Name</label>
                <input type="text" name="name" id="name" value="<?= $view->escape($user->fullname) ?>" required="required">
            </p>

            <p class="input-field col s6">
                <i class="material-icons prefix">email</i>
                <label for="email">Email</label>
                <input type="email" name="email" id="email" value="<?= $view->escape($user->email) ?>" required="required">
            </p>

            <p class="col s12">
                <button type="submit" name="edit_submit" value="1" class="bold btn-large waves-effect">
                    Save
                </button>
            </p>
        </form>
    </div>
</div>