Fixed the button text for new customers

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@497 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-06 18:08:55 +00:00
parent a2aa612a5e
commit 0de0c7d5d7

View File

@@ -251,7 +251,7 @@ echo($this->element
'comment' => true,
))) . "\n");
echo $form->submit('Update') . "\n";
echo $form->submit(isset($this->data['Customer']) ? 'Update' : 'Add New Customer') . "\n";
?>
<div CLASS="dynamic-set">
@@ -268,7 +268,7 @@ echo $form->submit('Update') . "\n";
<?php
; // Alignment
echo $form->submit('Update') . "\n";
echo $form->submit(isset($this->data['Customer']) ? 'Update' : 'Add New Customer') . "\n";
echo $form->submit('Cancel', array('name' => 'cancel')) . "\n";
echo $form->end() . "\n";
echo '</div>' . "\n";