But in the documentation, it seems that it's supposed to be in a line
by default.

On Jan 15, 2:06 am, Alexandru-Emil Lupu <gang.al...@gmail.com> wrote:
> Maybe by adding some css?
> Alecs
>
> sent via htc magic
>
> On Jan 15, 2010 6:40 AM, "Doraemon" <theoneandonlydorae...@gmail.com> wrote:
>
> In the 
> documentation:http://www.symfony-project.org/cookbook/1_2/en/make-a-choice
>
> It shows the checkbox in a line, however, when I try it, it appears in
> an unordered list.
>
> My code:
>
> $this->widgetSchema['category'] = new sfWidgetFormPropelChoice(array(
>                'model' => 'ItemCategoryList',
>                'key_method' => 'getPrimaryKey',
>                'order_by' => array('Name','asc'),
>                'expanded' => true,
>                'multiple' => true,
>        ));
>
> I simply use <? echo $form; ?> in my view to display my form. But this
> is what appears in the browser.
>
> HTML:
>
> <ul class="checkbox_list"><li><input name="addItemForm[category][]"
> type="checkbox" value="1" id="addItemForm_category_1" />&nbsp;<label
> for="addItemForm_category_1">Books</label></li>
> ...</ul>
>
> I want it to appear in a line just like the documentation, how do I do
> this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group 
> athttp://groups.google.com/group/symfony-users?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to