When adding Spec, if you want it to format properly the Paste From Word feature MUST BE USED Closes #46
44 lines
1.4 KiB
PHP
Executable file
44 lines
1.4 KiB
PHP
Executable file
<? echo $javascript->link('ckeditor/ckeditor');
|
|
echo $javascript->link('ckeditor/adapters/jquery');
|
|
?>
|
|
<script type="text/javascript">
|
|
$('.ckeditor').ckeditor(config);
|
|
|
|
</script>
|
|
|
|
|
|
<div class="addproduct">
|
|
<?php echo $form->create('Product', array('id'=>'productaddform', 'class'=>'addproduct'));?>
|
|
<fieldset>
|
|
<legend><?php __('Add Product');?></legend>
|
|
<?php
|
|
echo $form->input('principle_id', array('empty' => 'Choose a Principle'));
|
|
|
|
echo $form->input('title', array('class' => 'required', 'title'=>'Please Enter the Title for the Product'));
|
|
echo $form->input('description', array('id' => 'description', 'class'=>'ckeditor'));
|
|
|
|
echo $form->input('notes');
|
|
|
|
|
|
echo $html->image('calculator.png');
|
|
|
|
|
|
|
|
?>
|
|
</fieldset>
|
|
<?php echo $form->end(array('label' => 'Add Product'));
|
|
|
|
?>
|
|
|
|
|
|
</div>
|
|
<div class="actions">
|
|
<ul>
|
|
<li><?php echo $html->link(__('List Products', true), array('action'=>'index'));?></li>
|
|
<li><?php echo $html->link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?> </li>
|
|
<li><?php echo $html->link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?> </li>
|
|
<li><?php echo $html->link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?> </li>
|
|
<li><?php echo $html->link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?> </li>
|
|
</ul>
|
|
</div>
|