Created
April 13, 2011 05:43
-
-
Save bshaffer/917024 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset id="sf_fieldset_<?php echo preg_replace('/[^a-z0-9_]/', '_', strtolower($fieldset)) ?>"> | |
<?php if ('NONE' != $fieldset): ?> | |
<h2><?php echo __($fieldset, array(), 'messages') ?></h2> | |
<?php endif; ?> | |
<?php foreach ($fields as $name => $field): ?> | |
<?php if ((isset($form[$name]) && $form[$name]->isHidden()) || (!isset($form[$name]) && $field->isReal())) continue ?> | |
<?php include_partial('sf_guard_user_old/form_field', array( | |
'name' => $name, | |
'attributes' => $field->getConfig('attributes', array()), | |
'label' => $field->getConfig('label'), | |
'help' => $field->getConfig('help'), | |
'form' => $form, | |
'field' => $field, | |
'class' => 'sf_admin_form_row sf_admin_'.strtolower($field->getType()).' sf_admin_form_field_'.$name, | |
)) ?> | |
<?php endforeach; ?> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment