Fixing content type ordering when content_type is not defined.
[akelos.git] / lib / utils / generators / scaffold / templates / view_add.tpl
blob7a1fae0c0923977d6e7d1b2914dacf1a083bbe45
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   </ul> 
6 </div>
8 <div id="content">
9   <h1>_{<?php  echo AkInflector::humanize($plural_name)?>}</h1>
10   
11   <?php  echo '<?php  echo '?> $form_tag_helper->start_form_tag(array('action'=>'add')) ?>
13   <div class="form">
14     <h2>_{Creating <?php  echo AkInflector::humanize($singular_name)?>}</h2>
15     <?php  echo '<?php  echo  '?> $controller->renderPartial('form') ?>
16   </div>
18   <div id="operations">
19     <?php  echo '<?php  echo '.$helper_var_name?>->save() ?> <?php  echo '<?php  echo  '.$helper_var_name?>->cancel()?>
20   </div>
22   <?php  echo '<?php  echo '?> $form_tag_helper->end_form_tag() ?>
23 </div>