Cakephp 1.3 Form Alignment?

Posted by Sham Ali on Stack Overflow See other posts from Stack Overflow or by Sham Ali
Published on 2012-06-09T10:34:37Z Indexed on 2012/06/09 10:40 UTC
Read the original article Hit count: 378

Filed under:

Hi Fellwos i am new at cakephp 1.3, i am trying to create a Edit User Form with Form Helper in Cakephp 1.3.

i am unable to make a customize alignments of the form elements. for example echo $this->Form->create('Model', array('action' => 'edit_users','id' => 'UserForm')); echo $this->Form->input('First Name',array('style'=>'width:100px','label'=>'First Name:')); echo $this->Form->input('Last Name',array('style'=>'width:100px','label'=>'Last Name:')); echo $this->Form->input('Position',array('style'=>'width:100px','label'=>'Position:'));

i want first two input fields in single line and 3rd input field in 2nd line, i have tried it with div false, but its not working. if anybody can help me, thanks in advance

© Stack Overflow or respective owner

Related posts about cakephp-1.3