Hi guys,
I wanna to make a statement in ../views/resume/view.ctp
I have a table named: resume
id int(11) UNSIGNED No auto_increment
user_id int(11) Yes NULL
name varchar(120) latin1_swedish_ci No
content text latin1_swedish_ci No
and in view... when resume is created, link to "Create Resume" will be
replaced with "Edit Resume" and "Delete Resume"
How do I do that...?
What I have is manage to do is just a links:
<span style="float: right; margin: 0 5px 0 0;">
<?php echo $html->link(ucfirst(__('create Resume', true)), '/resumes/
create', array('class' => 'album'), false, false, false) ?>
<?php echo $html->link(__('edit Resume', true), '/resumes/
edit/' . $resume['Resume']['id'], array('class' => 'edit'), false,
false) ?>
<?php echo $html->link(__('delete Resume', true), '/resumes/
delete/' . $resume['Resume']['id'], array('class' => 'delete'), false,
false) ?>
</span>
Mucho Thanks in advance ... !!!
Chris
--
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