I have a separate action for admins to add comments, so instead of
using the 'action' option, I have:

echo $this->Form->create(
        'Comment',
        array(
                'url' => array(
                        'action' => 'add',
                        'admin' => 1
                )
        )
);

This gives:

<form accept-charset="utf-8" action="/admin/comments/add"
method="post" id="CommentSlugForm">

Note the id. WTF?

There's no slug column in the comments table. I do have some routes
which use slugs, but the route here is correct, anyway. Anyone have an
idea where this is coming from?

It's not a huge deal. I only noticed it because I have a default width
for textareas, then a narrower one for those inside #CommentAddForm.
This thing caused the styles to freak out. But I can deal with the CSS
another way. No biggie. Just really confused about what's going on
here.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to