~fabiocbalbuquerque/sahana-agasti/web-services

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<form action="<?php echo url_for('admin/globals') ?> " method="post">
<?php if (!$paramform->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table class="adminGlobal2">
    <tfoot>
      <tr>
        <td colspan="2">
          <?php echo $paramform->renderHiddenFields(false) ?>
          <?php if (!$paramform->getObject()->isNew()): ?>
            &nbsp;
              <input type="submit" value="Delete" name="delete" class="deleteButton"/>
              <input type="hidden" value="<?php echo $paramform->getObject()->getId() ?>" name="deleteparam">
          <?php endif; ?>
          <input type="submit" value="Save" name="update" class="continueButton"/>
        </td>
      </tr>
    </tfoot>
    <tbody>
      <tr>
        <?php echo $paramform;?>
      </tr>
    </tbody>
  </table>
</form>