Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    •  
      CommentAuthorjulio montoya
     

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

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

    •  
      CommentAuthorfrancois
     

    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() ?>