Fixing content type ordering when content_type is not defined.
[akelos.git] / lib / utils / generators / scaffold / templates / view_edit.tpl
blob4f263f4ae24a4ace350ab5691a3627a8fd7ad1bf
1 <div id="sidebar">
2   <h1>_{Tasks}:</h1>
3   <ul>
4     <li><?php  echo '<?php  echo  '?>$url_helper->link_to($text_helper->translate('Back to overview'), array('action' => 'listing'))?></li>
5     <li><?php  echo '<?php  echo  '?>$url_helper->link_to($text_helper->translate('Show this <?php  echo AkInflector::humanize($singular_name)?>'), array('action' => 'show', 'id'=>$<?php  echo $singular_name?>->getId()))?></li>
6   </ul> 
7 </div>
9 <div id="content">
10   <h1>_{<?php  echo AkInflector::humanize($plural_name)?>}</h1>
12   <?php  echo '<?php  echo '?> $form_tag_helper->start_form_tag(array('action'=>'edit', 'id' => $<?php  echo $singular_name?>->getId())) ?>
14   <div class="form">
15     <h2>_{Editing <?php  echo AkInflector::humanize($singular_name)?>}</h2>
16     <?php  echo '<?php  echo  '?> $controller->renderPartial('form') ?>
17   </div>
19   <div id="operations">
20     <?php  echo '<?php  echo '.$helper_var_name?>->save() ?> <?php  echo '<?php  echo  '.$helper_var_name?>->cancel()?>
21   </div>
23   <?php  echo '<?php  echo '?> $form_tag_helper->end_form_tag() ?>
24 </div>