i am embedding a custom forum in cake.
it has the following code
HTML Code:
<p>
<label><h3>Name</h3></label>
<input class="text-input small-input" type="text"
id="small-input" name="small-input" />
<span class="input-notification success
png_bg">Successful message</span>
<!-- Classes for input-notification: success, error,
information, attention -->
<br />
<small>A small description of the field</small> </p>
<p>
as we knw we use some thing like this to producce the input box
PHP Code:
echo $form->input('lat');
which produces
HTML Code:
<div class="input text"><label for="RestaurantLat">Lat</label>
<input name="data[Restaurant][lat]" maxlength="11" value=""
id="RestaurantLat" type="text">
</div>
i wanna know how to embedd is with the input with
Code:
input class="text-input small-input" type="text" id="small-input"
name="small-input"
i tried this but its not working
PHP Code:
echo $form->input('lat', array('class'=> 'text-input small-input',
'id'=>'small-input' ));
________________
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---