Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  

    How did I set the form name if I use in my view

    <?php echo $controller->renderPartial('form') ?>

    •  
      CommentAuthorfrancois
    • CommentTimeJun 25th 2008
     

    Hi JMontoya,

    Have a look at the documentation of the Akelos classe FormTagHelper

    Here a sample code for the template form

    <?php echo $form_tag_helper->start_form_tag(array('action'=>'edit', 'id' => $author->getId())) ?>

    <div class="form">

    _{Editing Author}

    <?php  echo   $controller->renderPartial('form') ?>
    

    </div>

    <div id="operations"> save() ?> cancel()?> </div>

    <?php echo $form_tag_helper->end_form_tag() ?>

Add your comments
    Username Password
  • Format comments as