Hi,

I have an app that is suddenly missing the <Submit> button on my "edit"
form. In fact, it's there, but not displayed :

...
<div class="submit"><input style="display: none;" value="Submit"
type="submit"></div></form></div>

Any reason why I get this "display: none;" ? I don't remember having
touched the form generation, below is the code.

TIA for your hints,
Charles

<div class="messages form">
<?php echo $this->Form->create('Message');?>
    <fieldset>
         <legend><?php __('Edit Message'); ?></legend>
    <?php
        echo $this->Form->input('id');
        echo $this->Form->input('client_id');
        echo $this->Form->input('client_msg_tag');
        echo $this->Form->input('msg_type');
        echo $this->Form->input('destination');
        echo $this->Form->input('ack_desired');
        echo $this->Form->input('nack_desired');
        echo $this->Form->input('ack_text');
        echo $this->Form->input('nack_text');
        echo $this->Form->input('msgtxt');
        echo $this->Form->input('subject');
        echo $this->Form->input('random_uuid');
        echo $this->Form->input('status');
        echo $this->Form->input('workflow');
        echo $this->Form->input('flooded');
        echo $this->Form->input('errors');
        echo $this->Form->input('channel');
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
    <h3><?php __('Actions'); ?></h3>
    <ul>

        <li><?php echo $this->Html->link(__('Delete', true),
array('action' => 'delete', $this->Form->value('Message.id')), null,
 sprintf(__('Are you sure you want to delete # %s?', true),
$this->Form->value('Message.id'))); ?></li>
        <li><?php echo $this->Html->link(__('List Messages', true),
array('action' => 'index'));?></li>
        <li><?php echo $this->Html->link(__('List Clients', true),
array('controller' => 'clients', 'action' => 'index')); ?> </l
i>
        <li><?php echo $this->Html->link(__('New Client', true),
array('controller' => 'clients', 'action' => 'add')); ?> </li>
    </ul>
</div>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to