<ul class="sf_admin_actions sf_admin_actions__pseudo">
<?php 
if($sf_user->hasCredential('user_create'))
{
?>
<?php if ($form->isNew()): ?>
  <?php echo $helper->linkToDelete($form->getObject(), array(  'params' =>   array(  ),  'confirm' => 'Are you sure?',  'class_suffix' => 'delete',  'label' => 'Delete',)) ?>
  <?php echo $helper->linkToList(array(  'params' =>   array(  ),  'class_suffix' => 'list',  'label' => 'Back to list',)) ?>
  <?php echo $helper->linkToSave($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save',  'label' => 'Save',)) ?>
  <?php echo $helper->linkToSaveAndAdd($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save_and_add',  'label' => 'Save and add',)) ?>
  <?php echo $helper->linkToSaveAndList($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save_and_list',  'label' => 'Save and list',)) ?>
<?php else: ?>
  <?php echo $helper->linkToDelete($form->getObject(), array(  'params' =>   array(  ),  'confirm' => 'Are you sure?',  'class_suffix' => 'delete',  'label' => 'Delete',)) ?>
  <?php echo $helper->linkToList(array(  'params' =>   array(  ),  'class_suffix' => 'list',  'label' => 'Back to list',)) ?>
  <?php echo $helper->linkToSave($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save',  'label' => 'Save',)) ?>
  <?php echo $helper->linkToSaveAndAdd($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save_and_add',  'label' => 'Save and add',)) ?>
  <?php echo $helper->linkToSaveAndList($form->getObject(), array(  'params' =>   array(  ),  'class_suffix' => 'save_and_list',  'label' => 'Save and list',)) ?>
  <li class="sf_admin_action_save" id="_send_password_id"><input value="Отправить пароль" type="submit" name="_send_password"></li>
<?php endif; ?>
<?php
}
?>
</ul>
