62 lines
2.6 KiB
PHP
62 lines
2.6 KiB
PHP
<div class="row">
|
|
<div class="span10 offset1">
|
|
<fieldset>
|
|
<legend>Update Account Details</legend>
|
|
|
|
<?php echo Form::input('date_last',$o->display('date_last'),array('label'=>'Last Updated','disabled')); ?>
|
|
|
|
<?php echo Form::input('username',$o->display('username'),array('label'=>'User Name','disabled')); ?>
|
|
|
|
<?php echo Form::input('email',$o->display('email'),array('label'=>'Email','class'=>'input-xxlarge','placeholder'=>'Email Address','type'=>'email','required')); ?>
|
|
|
|
<div class="row">
|
|
<div class="span1">
|
|
<?php echo Form::select('title',StaticList_Title::table(),$o->display('title'),array('class'=>'input-small','label'=>'Title','required')); ?>
|
|
</div>
|
|
|
|
<div class="span2">
|
|
<?php echo Form::input('first_name',$o->display('first_name'),array('label'=>'','class'=>'input-medium','placeholder'=>'First Name','required')); ?>
|
|
</div>
|
|
|
|
<div class="span3">
|
|
<?php echo Form::input('last_name',$o->display('last_name'),array('label'=>'','class'=>'input-large','placeholder'=>'Last Name','required')); ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo Form::input('company',$o->display('company'),array('label'=>'Company','class'=>'input-xxlarge','placeholder'=>'Company Name')); ?>
|
|
|
|
<?php echo Form::input('address1',$o->display('address1'),array('label'=>'Address','class'=>'input-xxlarge','placeholder'=>'Address','required')); ?>
|
|
|
|
<?php echo Form::input('address2',$o->display('address2'),array('label'=>'','class'=>'input-xxlarge')); ?>
|
|
|
|
<div class="row">
|
|
<div class="span3">
|
|
<?php echo Form::input('city',$o->display('city'),array('label'=>'City','placeholder'=>'City','required')); ?>
|
|
</div>
|
|
|
|
<div class="span1">
|
|
<?php echo Form::input('state',$o->display('state'),array('label'=>'','class'=>'input-mini','placeholder'=>'State','required')); ?>
|
|
</div>
|
|
|
|
<div class="span1">
|
|
<?php echo Form::input('zip',$o->display('zip'),array('label'=>'','class'=>'input-mini','placeholder'=>'Post Code','required')); ?>
|
|
</div>
|
|
</div> <!-- /row -->
|
|
|
|
<?php echo Form::select('country_id',ORM::factory('Country')->list_select(),$o->country_id,array('label'=>'Country','required')); ?>
|
|
|
|
<?php echo Form::select('language_id',ORM::factory('Language')->list_select(),$o->language_id,array('label'=>'Language','required')); ?>
|
|
|
|
<?php echo Form::select('currency_id',ORM::factory('Currency')->list_select(),$o->currency_id,array('label'=>'Currency','required')); ?>
|
|
|
|
<div class="row">
|
|
<div class="offset2">
|
|
<button type="submit" class="btn btn-primary">Save changes</button>
|
|
<button type="button" class="btn">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div> <!-- /span -->
|
|
</div> <!-- /row -->
|