1
<?php use_stylesheets_for_form($form) ?>
2
<?php use_javascripts_for_form($form) ?>
4
<form action="<?php echo url_for('profile/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
5
<?php if (!$form->getObject()->isNew()): ?>
6
<input type="hidden" name="sf_method" value="put" />
12
<?php echo $form->renderHiddenFields(false) ?>
13
<a href="<?php echo url_for('profile/index') ?>" class="generalButton">Back to list</a>
14
<?php if (!$form->getObject()->isNew()): ?>
15
<?php echo link_to('Delete', 'profile/delete?id='.$form->getObject()->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?')) ?>
17
<input type="submit" value="Save" class="continueButton" />
18
<input type="submit" value="Save and Continue" name="Continue" class="continueButton" />
23
<?php echo $form->renderGlobalErrors() ?>
25
<th><?php echo $form['user_id']->renderLabel() ?></th>
27
<?php echo $form['user_id']->renderError() ?>
28
<?php echo $form['user_id'] ?>
32
<th><?php echo $form['token']->renderLabel() ?></th>
34
<?php echo $form['token']->renderError() ?>
35
<?php echo $form['token'] ?>
39
<th><?php echo $form['is_webservice_client']->renderLabel() ?></th>
41
<?php echo $form['is_webservice_client']->renderError() ?>
42
<?php echo $form['is_webservice_client'] ?>
46
<th><?php echo $form['is_active']->renderLabel() ?></th>
48
<?php echo $form['is_active']->renderError() ?>
49
<?php echo $form['is_active'] ?>
53
<th><?php echo $form['created_at']->renderLabel() ?></th>
55
<?php echo $form['created_at']->renderError() ?>
56
<?php echo $form['created_at'] ?>
60
<th><?php echo $form['updated_at']->renderLabel() ?></th>
62
<?php echo $form['updated_at']->renderError() ?>
63
<?php echo $form['updated_at'] ?>