~mparic/+junk/openauctionlive

« back to all changes in this revision

Viewing changes to app/views/bids/add.ctp

  • Committer: Michael Paric
  • Date: 2012-01-07 20:21:14 UTC
  • Revision ID: mparic@compbizsolutions.com-20120107202114-6q89jiel6y3rbwgc
Updated validation rules to prevent duplicate Bid and Bidder entries; updated return message color for successful form entry to differentiate from error; added simlink in img/ for image to be used in reports - just change what auction_logo.jpg points to instead of changing View code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
        <fieldset>
4
4
                <legend><?php __('Enter Bid'); ?></legend>
5
5
        <?php
6
 
    echo $this->Form->label('Item Id#');
7
 
                echo $this->Form->text('item_id');
8
 
    echo $this->Form->label('Bidder Id#');
9
 
    echo $this->Form->text('bidder_id');
10
 
    echo $this->Form->label('Bid Amount');
11
 
                echo $this->Form->text('bid_amount');
 
6
                echo $this->Form->input('item_id',array('type'=>'text','label'=>'Item ID#'));
 
7
        echo $this->Form->input('bidder_id',array('type'=>'text','label'=>'Bidder ID#'));
 
8
                echo $this->Form->input('bid_amount',array('label'=>'Bid Amount (Do not enter $)'));
12
9
        ?>
13
10
        </fieldset>
14
11
<?php echo $this->Form->end(__('Submit', true));?>