public function renderFormTag($url, array $attributes = array())
 {
     $result = parent::renderFormTag($url, $attributes);
     if (sfConfig::get('app_is_mobile') && opConfig::get('retrieve_uid')) {
         $pos = strpos($result, '>');
         $head = substr($result, 0, $pos);
         $foot = substr($result, $pos);
         $result = $head . ' utn' . $foot;
     }
     return $result;
 }
 /**
  * Renders a form tag suitable for the related object.
  *
  * The method is automatically guessed based on the Doctrine object:
  *
  *  * if the object is new, the method is POST
  *  * if the object already exists, the method is PUT
  *
  * @param  string $url         The URL for the action
  * @param  array  $attributes  An array of HTML attributes
  *
  * @return string An HTML representation of the opening form tag
  *
  * @see sfForm
  */
 public function renderFormTag($url, array $attributes = array())
 {
     if (!isset($attributes['method'])) {
         $attributes['method'] = $this->isNew() ? 'post' : 'put';
     }
     return parent::renderFormTag($url, $attributes);
 }
<?php

slot('submenu');
include_partial('submenu');
end_slot();
?>

<?php 
slot('title', __('Make all members join in this %community%'));
?>

<p><?php 
echo __('Do you make all members join in this %community%?');
?>
</p>

<?php 
$form = new BaseForm();
echo $form->renderFormTag(url_for('community/addAllMember?id=' . $community->getId()));
include_partial('community/communityInfo', array('community' => $community, 'moreInfo' => array('<input type="submit" value="' . __('Yes') . '" />')));
echo $form->renderHiddenFields();
?>
</form>
<?php

slot('submenu');
include_partial('submenu');
end_slot();
?>

<?php 
slot('title', __('Remove default community'));
?>

<p><?php 
echo __('Do you remove this community from default?');
?>
</p>

<?php 
$form = new BaseForm();
echo $form->renderFormTag(url_for('community/removeDefaultCommunity?id=' . $community->getId()));
include_partial('community/communityInfo', array('community' => $community, 'moreInfo' => array('<input type="submit" value="' . __('Yes') . '" />')));
echo $form->renderHiddenFields();
?>
</form>
 /**
  * Directly, use the BaseForm method here.
  * @see lib/vendor/symfony/form/addon/sfForm#renderFormTag($url, $attributes)
  */
 public function renderFormTag($url, array $attributes = array())
 {
     return BaseForm::renderFormTag($url, $attributes);
 }
<?php 
slot('title');
echo __('Delete consumer secret');
end_slot();
?>

<?php 
use_helper('Javascript');
?>
<p>
<?php 
echo __('Delete backend consumer secret of this app?');
?>
&nbsp;
<?php 
echo __('It becomes impossible to access with API when the key is deleted.');
?>
</p>
<?php 
$form = new BaseForm();
echo $form->renderFormTag(url_for('@op_opensocial_delete_backend_secret'));
echo $form->renderHiddenFields();
?>
<input type="submit" value="<?php 
echo __('Delete');
?>
">
</form>

<?php 
echo link_to_function(__('Back to previous page'), 'history.back()');
<?php 
slot('title');
echo __('Generate or reset consumer secret');
end_slot();
?>

<?php 
use_helper('Javascript');
?>
<p><?php 
echo __('Generate or reset consumer secret of this app?');
?>
</p>
<p><?php 
echo $application->getTitle();
?>
</p>
<?php 
$form = new BaseForm();
echo $form->renderFormTag(url_for('@op_opensocial_update_consumer_secret?id=' . $sf_request->getParameter('id')));
echo $form->renderHiddenFields();
?>
<input type="submit" value="<?php 
echo __('Yes');
?>
">
</form>

<?php 
echo link_to_function(__('Back to previous page'), 'history.back()');
    $appInfoList[__('Screen Shot')] = content_tag('div', image_tag($application->getScreenshot(), array('alt' => $application->getTitle())), array('class' => 'applicationScreenShot'));
}
$appInfoList[__('Description')] = $application->getDescription();
$authorInfoList = array(__('Name') => $application->getAuthorEmail() ? mail_to($application->getAuthorEmail(), $application->getAuthor(), array('encode' => true)) : $application->getAuthor(), __('Affiliation') => $application->getAuthorAffiliation(), __('Aboutme') => $application->getAuthorAboutme(), __('Photo') => $application->getAuthorPhoto() ? image_tag($application->getAuthorPhoto(), array('alt' => $application->getAuthor())) : '', __('Link') => $application->getAuthorLink() ? link_to(null, $application->getAuthorLink(), array('target' => '_blank')) : '', __('Quote') => $application->getAuthorQuote());
op_include_parts('listBox', 'ApplicationInfoList', array('title' => __('About App'), 'list' => $appInfoList));
op_include_parts('listBox', 'AuthorInfoList', array('title' => __('About Author'), 'list' => $authorInfoList));
?>

<?php 
if ($member->getId() === $application->getMemberId()) {
    $form = new BaseForm();
    ?>

<?php 
    slot('update_button');
    echo $form->renderFormTag(url_for('@application_update?id=' . $application->getId()));
    echo $form->renderHiddenFields();
    ?>
<input type="submit" value="<?php 
    echo __('Update');
    ?>
" />
</form>
<?php 
    end_slot();
    ?>

<?php 
    slot('consumer_secret');
    ?>
<div id="oauth_consumer_secret"></div>