Re: How to avoid extra php code in views

2012-05-07 Thread bs28723
nsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php If you reply to this email,

Re: How to avoid extra php code in views

2012-05-07 Thread Justin Edwards
gt; 'admin','member'))) { >> echo $this->Form->label('Role.name'**, 'Role: >> '.$this->request->data['name']**); >> } else { >> echo $this->Form->input('Role.name'**); >> } &

Re: How to avoid extra php code in views

2012-05-07 Thread bs28723
gt; editable) > or editable depending on the role or permissions of the user. I > don't > want to create different controller functions and different views for > each variation. But, I am also not sure that passing a bunch of > information to views and h

Re: How to avoid extra php code in views

2012-05-07 Thread Thom Seddon
ot editable) > or editable depending on the role or permissions of the user. I don't > want to create different controller functions and different views for > each variation. But, I am also not sure that passing a bunch of > information to views and have them make the decision

How to avoid extra php code in views

2012-05-06 Thread bs28723
different controller functions and different views for each variation. But, I am also not sure that passing a bunch of information to views and have them make the decision is right either. Anyone have any suggestions? Thanks, bill -- View this message in context: http://cakephp.1045679.n5.nabble.com