28 lines
848 B
PHP
28 lines
848 B
PHP
<div class="attachments form">
|
|
<?php echo $form->create('Attachment');?>
|
|
<fieldset>
|
|
<legend><?php __('Edit Attachment');?></legend>
|
|
<?php
|
|
echo $form->input('id');
|
|
echo $form->input('principle_id');
|
|
echo $form->input('name');
|
|
?>
|
|
<div class="input text">
|
|
<label>Filename</label>
|
|
<?php echo $this->data['Attachment']['filename']; ?>
|
|
</div>
|
|
|
|
<?php
|
|
echo $form->input('description');
|
|
echo $form->input('archived');
|
|
?>
|
|
</fieldset>
|
|
<?php echo $form->end('Submit');?>
|
|
</div>
|
|
<div class="actions">
|
|
<ul>
|
|
<li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('Attachment.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Attachment.id'))); ?></li>
|
|
<li><?php echo $html->link(__('List Attachments', true), array('action' => 'index'));?></li>
|
|
</ul>
|
|
</div>
|