PHP Classes
elePHPant
Icontem

File: View/Users/edit.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Users/edit.ctp  >  Download  
File: View/Users/edit.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 years ago
Size: 1,248 bytes
 

 

Contents

Class file image Download
<div class="span-19">
    <h1>Urejanje profila</h1>


    <?php
    $this
->Html->script('regions.js', array('inline' => FALSE));
    echo
$this->Form->create('User', array('class' => 'formStyle'));
    echo
"<p>";
    echo
"<FIELDSET><LEGEND ACCESSKEY=I>Osnovni podatki</LEGEND>";
    echo
$this->Form->input('id');

    echo
$this->Form->input('User.nickName', array('label' => 'Vzdevek', 'div' => false, 'error' => false));
    echo
$this->Form->error('User.nickName', null, array('wrap' => 'em', 'class' => 'error-message'));
    echo
"<br>";

    echo
$this->Form->input('gender_id', array('label' => 'Spol'));
    echo
$this->Form->input('birthdate', array('label' => 'Rojstni datum', 'minYear' => '1910', 'dateFormat' => 'DMY', 'maxYear' => date("Y")));
    echo
$this->Form->input('User.city_id', array('label' => 'Mesto/kraj', 'empty' => ''));
    echo
"</fieldset>";


    echo
"<FIELDSET><LEGEND ACCESSKEY=I>O meni</LEGEND>";
    echo
$this->Form->input('aboutme', array('label' => 'O meni'));
    echo
$this->Form->input('whywritetome', array('label' => 'I??em'));

    echo
$this->Form->button('Po?lji', array('type' => 'submit'));
    echo
$this->Form->end();
    echo
"</fieldset>";
    echo
"</p>";
   
?>

</div>