Php/fuelphp/form
提供: 初心者エンジニアの簡易メモ
サンプル
<?php echo Form::open(); ?>
<?php echo Form::input('name', Input::post('name', isset($project) ? $project->name : ), array('class' => 'span4')); ?>
<?php echo Form::select('country', 'none', array( 'none' => 'None', 'us' => 'United States' ), array('class' => 'span2')); ?>
<?php echo Form::submit('submit', 'Save', array('class' => 'btn btn-primary')); ?>
<?php echo Form::close(); ?>
<p><?php echo Html::anchor('admin/projects', 'Back'); ?></p>